On Tue, 2011-12-13 at 14:51 -0800, Mark Galeck (CW) wrote:
> Hmm, I did try that, did not work for me, same error (but Philip's solution
> works)
>
> >Another solution that works here is to use backslashes:
>
> foobar: $$(shell echo prereq\;)
Ah right. That's a bug that was fixed since 3.82 was released. Works
now in the current latest sources:
$ cat Makefile
.SECONDEXPANSION:
all: $$(shell echo prereq\;)
@echo hi
$ ~/src/make/make-rel/make
make: *** No rule to make target `prereq', needed by `all'. Stop.
But Philip's solution works as well as you point out.
--
-------------------------------------------------------------------------------
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