discuss-gnustep
[Top][All Lists]
Advanced

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

Re: non recursive makefiles


From: Rogelio Serrano
Subject: Re: non recursive makefiles
Date: Wed, 12 Jan 2005 22:48:30 +0800

On 12 Jan 2005 13:58:41 GMT, MJ Ray <mjr@dsl.pipex.com> wrote:
> Nicola Pero <nicola@brainstorm.co.uk> wrote:
> > Thanks, MJ Ray -- your comments make a good point -- the main problem is
> > that 'make' does not provide you with a full-fledged programming language.
> 
> Recursion or not doesn't change that either way.  If you have a specific
> point about a frequently-necessary feature that requires recursion,
> please restate it.
> 
> > It's extremely limited and we're already pushing it over the edge.  The
> > first obvious objection is that if you remove recursive invocations and
> > just include everything in the top-level GNUmakefile, then everything
> > defined in any GNUmakefile included by the top-level execution would be in
> > the same namespace.
> 
> Yes, the subprojects that you use in one project have to be compatible,
> but that's already true. Recursion doesn't change that fundamentally
> either.  A higher-level makefile can easily pollute the environment
> variables in a way that breaks lower levels, can't it? Not isolation
> at all. Assuming isolation seems dangerous to me.
> 
> Recursion does allow "dirty" makefile practices to continue longer. Maybe
> sometimes recursion would be necessary, but I don't see why it seems to
> be the default for so many GNUstep packages. Is it just lack of time to
> hack an elegant solution, which is what your message suggests?
> 
> The recursion in the current gnustep-make are part of the hindrance,
> but there's a lot more undocumented hacks and magics in there, which is
> probably the biggest reason it doesn't get all the love it could.
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 

Here is a sample of the Makefiles im using in a c project. Its modular
and non-recursive. Im figuring out how to use it with gnustep. I
copied this from the openradius site which has an article about
non-recursive makefiles.

-- 
Blood is thicker than water... and much tastier
                                           John Davidorff Pell

Attachment: buildSystem.tar.gz
Description: application/gzip


reply via email to

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