automake-ng
[Top][All Lists]
Advanced

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

Re: [Automake-NG] [PATCH 1/2] [ng] perf: disable GNU make builtin rules,


From: Akim Demaille
Subject: Re: [Automake-NG] [PATCH 1/2] [ng] perf: disable GNU make builtin rules, for performance reasons
Date: Tue, 3 Jul 2012 16:56:17 +0200

Le 27 juin 2012 à 22:15, Bob Friesenhahn a écrit :

> On Wed, 27 Jun 2012, Dave Hart wrote:
>> 
>> Thanks.  That approach should work for a recursive setup if each
>> directory with Makefile.am also has the MAKEFLAGS-altering
>> GNUmakefile.  From my perspecitve, while it would be nicer if Automake
>> handled it for me, this solution appeals.  I realize converting to
>> nonrecursive make would yield correctness and performance wins, but so
>> far I have been put off by the loss of ability to build only a
>> subtree.
> 
> It is quite possible to build a subtree of a non-recursive project but you do 
> need to know how to specify the fully-qualified path to the target which 
> should be built.  If there are just a few common targets, these can be added 
> as shortcut targets in the Makefile.

Yes, I concur, this is very handy.  The real issue with non-recursive
Makefiles is the absence of scoping concept, so one can no longer
have different AM_CPPFLAGS easily.

But at least with GNU Make we can use target/pattern-specific
variables, so it might be easier to emulate.




reply via email to

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