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: Michael Hopkins
Subject: Re: GNUstep make with differently-named makefiles
Date: Fri, 27 Jun 2008 19:07:12 +0100
User-agent: Unison/1.8.1

On 2008-06-27 12:51:45 +0100, Nicola Pero <nicola.pero@meta-innovation.com> said:

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


Thanks Nicola sorted out now.

M
--
______________________________________________

   Hopkins Research      Touch the Future
______________________________________________



reply via email to

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