help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing


From: Paul Smith
Subject: Re: missing
Date: Tue, 06 Mar 2012 08:50:34 -0500

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 <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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]