-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Schwab wrote:
> John Calcote <[EMAIL PROTECTED]> 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. In this case (only),
variable *assignments* are expanded immediately. But regular rule or
command references are only expanded when the rule or command is
evaluated (as opposed to read).

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkizKkoACgkQdcgqmRY/OH+JugCcDG2tUysq3zD5wNFdNMbUC3BS
OAEAoI7g643zoZqOVUafU9grcAOBOmWi
=LoRe
-----END PGP SIGNATURE-----


Reply via email to