help-make
[Top][All Lists]
Advanced

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

Re: Using environmnet variables in make


From: Tom Browder
Subject: Re: Using environmnet variables in make
Date: Fri, 27 Feb 2009 11:22:00 -0600

On Fri, Feb 27, 2009 at 10:50 AM, John Calcote <address@hidden> wrote:
> Kaylan,
...
> Also note the difference in dereference syntax. Make variables are
> dereferenced by make before the command is passed to the shell by using $()
> syntax, whereas shell variables are dereferenced by the shell after it
> receives the command, by using the ${} syntax.

Excellent description, John.

But, just for completeness, note that the ${} (curly braces) syntax is
also valid outside of shell commands (although I don't see too many
examples of it in the wild).

-Tom




reply via email to

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