Arrrgh. Hit send while still editing...
On 6/26/07, Philip Guenther <[EMAIL PROTECTED]> wrote:
...
The work around is to put the bits to eval into a variable and eval
the variable's value:
tmp = 2d: ; @echo with 2 dollars: target=$@
$(eval ${value tmp})
or
tmp = 2d: ; @echo with 2 dollars: target=$$@
$(eval ${tmp})
Those both work in both 3.80 and 3.81. Which you'll want to use
depends on whether you want the extra expansion seen in the second of
those.
(You can also set 'tmp' with define/endef, which is often more
readable for rule-like values)
Philip Guenther
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make