help-make
[Top][All Lists]
Advanced

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

Re: append to/from command line variable


From: Martin d'Anjou
Subject: Re: append to/from command line variable
Date: Mon, 7 Nov 2005 09:49:53 -0500 (EST)

> The command:
> 
>         echo FOO = $$FOO
> 
> is having the shell print the shell environment variable $FOO.  It's NOT
> printing the make variable $(FOO).
> 
> ... great explanation skipped (see archives)

I understand! The whole point is that make needs to pass env variables
from the invoking shell to its sub-shells. So it creates a tunnel for the
env variables and it can modify the values along the way.

Thanks a lot Paul!
Martin





reply via email to

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