help-make
[Top][All Lists]
Advanced

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

Re: make best practises: parentheses for variable names


From: Robert P. J. Day
Subject: Re: make best practises: parentheses for variable names
Date: Sat, 8 Jan 2005 11:38:38 -0500 (EST)

On Sat, 8 Jan 2005, David Boyce wrote:

> In my personal and undocumented "standard" I try to get some free
> self-documentation from the two forms. I use ${FOO} for values which
> typically come from the environment, e.g. ${HOME}, and $(FOO) for
> internal make macros such as $(CFLAGS). The mnemonic is that ${FOO}
> is legal shell syntax whereas $(FOO) works only in make.

hmmm ... i like that distinction, i may consider it.  thanks.

rday

p.s.  chances are, there will be several more picky questions coming
as i'm just working my way thru ORA's 3rd edition of "managing
projects with gnu make", just filling in all the holes.




reply via email to

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