What is semantics (M | m) akefile?

Is there any difference between using a makefile and a makefile?

+3
source share
4 answers

gmake uses the first make file using the following order:

GNUmakefile, makefile, Makefile

Otherwise, they are semantically equivalent. GNU recommends using GNUmakefile only if you use GNU extensions.

Source

+2
source

No no. Even on platforms with case-sensitive file systems, the make program will look for both names. GNU Performs a "makefile" check for a "Makefile" (technically it checks the GNUmakefile file first, but you don't need to use that name).

+1

. .

makefile Makefile, gmake make .

0

. GNUmakefile. , tvanfosson! (-;

I don’t know about the Gamecat offer, as this is the opposite of what I found when testing.

Thanks florin, your suggestion is what I found now.

makefile and then makefile (similar to the GNUmakefile).

amuses

Rob

0
source

Source: https://habr.com/ru/post/1698944/


All Articles