bug-make
[Top][All Lists]
Advanced

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

Re: Dynamic adjustments of build dependencies for the number of availabl


From: Reinier Post
Subject: Re: Dynamic adjustments of build dependencies for the number of available processors
Date: Thu, 8 Jan 2015 17:45:47 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon Jan  5 20:06:01 2015, address@hidden (SF Markus Elfring) wrote:
> > So you have in your toolbox $(shell) and $(eval).
> 
> I am not familiar enough with the second make function.
> http://www.gnu.org/software/make/manual/html_node/Eval-Function.html
> 
> > $(eval) lets you generate rules dynamically.
> 
> Does it really support the generation of completely new build rules
> (instead of adjusting only recipes)?

Yes, it does.
An alternative is to generate a Makefile and include it into
your main Makefile.  In both cases you are generating and then
evaluating make rules at runtime.

-- 
Reinier



reply via email to

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