Just think, I wasting brain space with makefile line continuations!
authorBenjamin Smedberg <benjamin@smedbergs.us>
Fri, 30 Jan 2009 15:28:33 -0500
changeset 10 c647fb430b20
parent 9 39a719db34cc
child 11 33eb1c16caea
push id7
push userbsmedberg@mozilla.com
push date2009-01-30 20:28 +0000
Just think, I wasting brain space with makefile line continuations!
tests/line-continuations.mk
--- a/tests/line-continuations.mk
+++ b/tests/line-continuations.mk
@@ -1,10 +1,14 @@
 VAR = val1 	 \
   	  val2  
 
+VAR2 = val1space\
+val2
+
 all:
 	test "$(VAR)" = "val1 val2  "
+	test "$(VAR2)" = "val1space val2"
 	test "hello \
 	  world" = "hello   world"
 	test "hello" = \
 "hello"
 	@echo TEST-PASS