Vilket format ska en makefile sparas i?

PIC, AVR, Arduino, Raspberry Pi, Basic Stamp, PLC mm.
snigelen
Inlägg: 815
Blev medlem: 8 maj 2009, 11:02:14
Ort: Lund

Re: Vilket format ska en makefile sparas i?

Inlägg av snigelen »

Det är väl tradition i Unix-världen att kalla den Makefile. I manulen till Gnu-make finns bland annat följande att läsa
If no -f option is present, make will look for the makefiles GNUmakefile,
makefile, and Makefile, in that order.

Normally you should call your makefile either makefile or Makefile.
(We recommend Makefile because it appears prominently near the begin‐
ning of a directory listing, right near other important files such as
README.) The first name checked, GNUmakefile, is not recommended for
most makefiles. You should use this name if you have a makefile that
is specific to GNU make, and will not be understood by other versions
of make.
där ju även calmars poäng framgår. (Men filerna brukar väl, "by default", listas utan hänsyn till stor/liten bokstav nuförtiden).
ronnylov
Inlägg: 987
Blev medlem: 23 februari 2012, 12:06:19
Ort: Borås

Re: Vilket format ska en makefile sparas i?

Inlägg av ronnylov »

Aha, ja då hade jag fel. Då ska det alltså funka även med stort M i början...
Skriv svar