summaryrefslogtreecommitdiff
path: root/build/pymake/tests/line-continuations.mk
blob: 8b44480eae2150cd9cfc981a6527a7733961d036 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
VAR = val1 	 \
  	  val2  

VAR2 = val1space\
val2

VAR3 = val3 \\\
	cont3

all: otarget test.target
	test "$(VAR)" = "val1 val2  "
	test "$(VAR2)" = "val1space val2"
	test '$(VAR3)' = 'val3 \ cont3'
	test "hello \
	  world" = "hello   world"
	test "hello" = \
"hello"
	@echo TEST-PASS

otarget: ; test "hello\
	world" = "helloworld"

test.target: %.target: ; test "hello\
	world" = "helloworld"