automake
[Top][All Lists]
Advanced

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

Re: GNU Make Extensions


From: Jan Engelhardt
Subject: Re: GNU Make Extensions
Date: Wed, 10 Dec 2008 16:32:24 +0100 (CET)
User-agent: Alpine 1.10 (LNX 962 2008-03-14)

On Wednesday 2008-12-10 16:04, Bob Friesenhahn wrote:

> On Wed, 10 Dec 2008, Tom Browder wrote:
>>> * Tom Browder wrote on Wed, Dec 10, 2008 at 01:38:53AM CET:
>>> > Is it "legal" to use the "+=" operator in lieu of "\" when listing
>>> > members of a variable in Makefile.am's?
>>>
>>> Yes.  In this case, an Automake extension over portable make syntax,
>>> i.e., automake will flatten the += and 'make' won't ever see it.
>
> I didn't really trust += in my own Automake makefiles since it was not really
> clear to me in what order the appending would occur

Would it matter? Except for use of := (which I think is non-portable
too), expansion of ${variables} will happen at the latest possible
time, long after += has been parsed (linearly top-down probably).




reply via email to

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