Tom Lane <tgl@sss.pgh.pa.us> writes:
> Brent Verner <brent@rcfile.org> writes:
> > | Will it not work to do
> > |
> > | $(shell echo '$(TCL_SHLIB_LD)' | sed ...
>
> > No. I just tested this, and the $@ still got expanded too early.
>
> [ scratches head ... ] Where is the expansion happening, then? Seems
> weird.
The expansion is done by make. It does expand variables recursively,
even for :=. Using $$@ instead of $@ should help in this particular
case, I think.
Bernhard
--
Intevation GmbH http://intevation.de/
Sketch http://sketch.sourceforge.net/
MapIt! http://mapit.de/