help-make
[Top][All Lists]
Advanced

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

RE: Breaking from a for loop?


From: Paul Smith
Subject: RE: Breaking from a for loop?
Date: Tue, 24 Nov 2009 08:46:12 -0500

On Tue, 2009-11-24 at 11:03 +0000, David Aldrich wrote:
>             else :; fi;                                      \        

You have lots of whitespace after the backslash here.

Only a backslash followed immediately by a newline escapes the newline.
Backslash followed by extra spaces does not.

I highly recommend using an editor with features that will automatically
removed (or at least flag) trailing whitespace in your makefiles (Emacs
will do this for example).

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