automake
[Top][All Lists]
Advanced

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

Re: Problems with conditional sources


From: Andreas Schwab
Subject: Re: Problems with conditional sources
Date: Tue, 26 Aug 2008 01:12:01 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

John Calcote <address@hidden> writes:

> Andreas Schwab wrote:
>> John Calcote <address@hidden> writes:
>>
>>> Make is a two-pass utility. The first pass completely assimilates all
>>> macro data specified in the Makefile. THEN, the second pass generates
>>> the rule dependency tree.
>>
>> This is not true.  Variable refences in target and dependency lists are
>> expanded when they are read.  Any later redefinition will not change
>> them.
>>
>> Andreas.
>>
>
> This is only true if you use ':=' assignment.

You are mistaken.  RTFM.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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