Use of Makefile

karina.popkova at verizon.net karina.popkova at verizon.net
Mon May 10 12:20:53 EDT 2004


Make files are used for managing (compiling and updating)
software projects that have multiple files. 
One reference states:


'By default, when invoking a Makefile on the command line, the shell looks for a file named "Makefile" (note: uppercase) in the current working directory. Some versions also find "makefile" (note: lower case). If you want to circumvent tradition for some reason, the -f option might be used to rename Makefiles with other names that may be deemed as more meaningful. An example of naming and invoking the makefile is seen below. '

prompt>make -f someothername 

Can someone elaborate on an example where invoking Make
by some other name is desirable?

karina






More information about the Discuss mailing list