Possible Duplicate:
Should I name “makefile” or “Makefile”?
What's the standard convention for make files as far as its capitalization. I've seen both Makefile and makefile. Does it depend on language? Project?
The Makefile Although the tool will look for Makefile or makefile, it is a firmly accepted standard practice to use the capitalized form. The Makefile defines a set of rules, targets, and dependencies.
Capitalize the first letter of each word in a file name. This is called “CamelCase.” It is an efficient way to differentiate words but it can be harder to read. If the file name contains a capitalized acronym, it should appear in capitals and the first letter of the following word should also be capitalized.
You can use either of them, but conventionally Makefile
is preferred over makefile
. If you have both Makefile
and makefile
in the same directory and you just type make
then makefile
is executed and Makefile
is ignored.
It doesn't matter. The make program looks for either one. I personally prefer Makefile since I'm always on Linux and it shows up first in the directory listing since I use lower case on all of my .ccp and .h files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With