automake
[Top][All Lists]
Advanced

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

Re: PATCH: patsubst support


From: Derek R. Price
Subject: Re: PATCH: patsubst support
Date: Fri, 23 Feb 2001 18:39:35 -0500

Tom Tromey wrote:

>     if FOO
>     var = a b
>     endif
>     derived = $(var:%=%.c)
>     if BAR
>     var = c d
>     endif

Isn't the order irrelevant here since derived won't be evaluated until
it's used?

Um, the gmake manual calls this "expanded when read, except for the shell
commands in rules, the right-hand sides of variable definitions using
`=', and the bodies of variable definitions using the `define'
directive".

Derek
--
Derek Price                      CVS Solutions Architect (
http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
Before you criticize someone, walk a mile in his shoes.  That way, if
he gets angry, he'll be a mile away - and barefoot.




reply via email to

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