discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep make with differently-named makefiles


From: Nicola Pero
Subject: Re: GNUstep make with differently-named makefiles
Date: Fri, 27 Jun 2008 12:51:45 +0100

I just tried it out and realized that it should really be
make -f othermakefile MAKEFILE_NAME=othermakefile
That works for me :-)
Thanks


Thanks Nicola this works for me too.

Is there any possibility of there being a more concise syntax in the future?

If you don't want to type that much every time, an idea would be to set MAKEFILE_NAME at the top of your 'othermakefile'. So, othermakefile could look something like --

----
export MAKEFILE_NAME = othermakefile
include $(GNUSTEP_MAKEFILES)/common.make

TOOL_NAME = tool
tool_OBJC_FILES = tool.m

include $(GNUSTEP_MAKEFILES)/tool.make
----

and then you should be able to just use

make -f othermakefile

to use it ;-)

Yes - that's definitely the way to do it - sorry for not suggesting it earlier ;-)

Thanks




reply via email to

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