Makefile
The UNIX make command follows a user-prepared description file known as Makefile, to perform its tasks.
Structure of Makefile:target: zero or more componentsTABcommand1TABcommand2…
Example - Dependencies rules:myprog : file1.o file2.o TAB gcc file1.o file2.c -o myprogfile1.o : file1.c mydefs.hTAB gcc -c file1.cfile2.o : file2.cTAB gcc -c file2.c
Example: Default Dependencies:myprog : file1.o file2.oTAB gcc file1.o file2.o -o myprogfile1.o : mydefs.h