[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why does $$(shell bomb with a semicolon during SECONDEXPANSION?
From: |
Paul Smith |
Subject: |
Re: why does $$(shell bomb with a semicolon during SECONDEXPANSION? |
Date: |
Tue, 13 Dec 2011 08:12:28 -0500 |
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 <address@hidden> 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