3 ms·
Here is an odd thing: GNU Make looks for the file in this order (according to the manual): GNUmakefile, makefile, Makefile. The last time I saw a lower case '
by kazinator 4y ago
Here is an odd thing: GNU Make looks for the file in this order (according to the manual): GNUmakefile, makefile, Makefile.
The last time I saw a lower case 'm' makefile was eons ago.
The manual itself recommends Makefile rather than makefile, right in the same paragraphs where it tells you makefile is checked first.
Why look for makefile before Makefile, a file next to nobody has.
Maybe lower-case makefile was a predecessor to GNUmakefile; a way of having a GNU-specific makefile. (If so, that's a noteworthy thing the manual ought to mention.)