Copyright © tutorialspoint.com
This is an example of the Makefile for compiling the hello program. This program consists of three files main.cpp, factorial.cpp and hello.cpp.
Now you can build your program hello using "make". If you will issue a command "make clean" then it will remove all the object files and core files available in the current directory. |
Copyright © tutorialspoint.com