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: Nicola Pero
Subject: Re: MUST GNUstep Makefiles be called GNUmakefile?
Date: Tue, 7 Oct 2003 11:29:27 +0100 (BST)

> Dear Yen-Ju Checn,
> 
> > OCUnit uses this trick in GNUmakefile:
> >
> > #
> > # If GNUSTEP_SYSTEM_ROOT is equal to nothing then include
> > # ProjectBuilder makefile named Makefile else include the
> > # GNUstep makefile named GSmakefile.
> > #
> > ifeq ($(GNUSTEP_SYSTEM_ROOT),)
> >  include Makefile
> > else
> >  include GSmakefile
> > endif
> >
> > Hope it help.
> 
> Thanks a lot for this hint. This solved a problem I had for a long 
> time. I knew the -f option of make. However, this works only for the 
> root project. If you have an aggregate project and you use "make  -f 
> makefile", makefile will be used for the aggregate but GNUmakefile will 
> be used for all the subprojects.

make -f MyMakefile MAKEFILE_NAME=MyMakefile






reply via email to

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