discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MUST GNUstep Makefiles be called GNUmakefile?


From: David Ayers
Subject: Re: MUST GNUstep Makefiles be called GNUmakefile?
Date: Tue, 07 Oct 2003 10:16:15 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916

Björn Giesler wrote:

Hi,

it seems to be necessary to name a GNUstep makefile 'GNUmakefile' and nothing else, otherwise "make" complains with
        make[1]: GNUmakefile: No such file or directory
        make[1]: *** No rule to make target `GNUmakefile'.  Stop.

Is there a political or technical reason for this?

The reason GNU make searches for 'GNUmakefile' in preference to 'Makefile' is technical becuase projects relying on GNU make extensions (like I believe GNUstep does). But GNUmakefiles are not necessarily "GNUstep" makefiles. :-) They are simply makefiles that probably require GNU - make.

Any non-option parameter passed to make will be interpreted as a target. If you want to supply a file name to the a custom Makefile, you should be able to use the -f option:

make -f MyMakefile  (see: man/info make)

Good Luck!

Cheers,
David






reply via email to

[Prev in Thread] Current Thread [Next in Thread]