bug-make
[Top][All Lists]
Advanced

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

Re: Space after continuation char "\ " causes "commands commence before


From: Paul D. Smith
Subject: Re: Space after continuation char "\ " causes "commands commence before first target" error
Date: Thu, 8 Mar 2001 01:13:45 -0500

%% Stephen McInerney <address@hidden> writes:

  sm> make fails ambiguously if the Makefile has non-tab whitespace after a
  sm> multiline variable definition that gets expanded to the target of a
  sm> rule:

Sorry, I can't parse that (I just got back from vacation and my brain is
not yet working again).  Can you send an example?

  sm>   Makefile:12: *** commands commence before first target.  Stop.
  sm>   (The error number varies between 12,13,14 or even 28 (tabstop) error)

  sm> It should pinpoint the error (with line number).

Umm... the "12" is not an error number, it's a line number in the
makefile where make detected the error.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "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]