On Tue, 2012-03-06 at 14:06 +0800, yushang wrote:
> M = $(info $(var))
> $(foreach var,1 2 3,$(M)))
You have one too many closing parens here. So after the foreach loop
has expanded to nothing, the line contains just a single closing paren
which is a syntax error ("missing separator" is make's version of
"syntax error").
--
-------------------------------------------------------------------------------
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