|
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:
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.Hi,it seems to be necessary to name a GNUstep makefile 'GNUmakefile' and nothing else, otherwise "make" complains withmake[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?
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
[Prev in Thread] | Current Thread | [Next in Thread] |