On Mon, 2011-12-12 at 22:52 -0800, Philip Guenther wrote:
> The solution is to hide the semicolon from the first round of make
> expansion, ala:
>
> .SECONDEXPANSION:
> semi=;
> foobar: $$(shell echo prereq$${semi})
> touch $@
Another solution that works here is to use backslashes:
foobar: $$(shell echo prereq\;)
--
-------------------------------------------------------------------------------
Paul D. Smith <[email protected]> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make