help-make
[Top][All Lists]
Advanced

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

backslash does not simply continue line?


From: Mark Galeck (CW)
Subject: backslash does not simply continue line?
Date: Sat, 3 Mar 2012 07:32:37 -0800

Hello,

The manual says "You may split a long line by inserting a backslash followed by 
a newline"


Not so!  This one:

MACRO = $(info ->$(1)<-)

$(eval $(call MACRO,\
foobar))


causes a blank to be added before foobar!  So "inserting a backslash followed 
by a newline" changed the behaviour of the makefile.

Mark



reply via email to

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