build/pymake/tests/line-continuations.mk

branch
TOR_BUG_9701
changeset 3
141e0f1194b1
equal deleted inserted replaced
-1:000000000000 0:751c78c0b6bf
1 VAR = val1 \
2 val2
3
4 VAR2 = val1space\
5 val2
6
7 VAR3 = val3 \\\
8 cont3
9
10 all: otarget test.target
11 test "$(VAR)" = "val1 val2 "
12 test "$(VAR2)" = "val1space val2"
13 test '$(VAR3)' = 'val3 \ cont3'
14 test "hello \
15 world" = "hello world"
16 test "hello" = \
17 "hello"
18 @echo TEST-PASS
19
20 otarget: ; test "hello\
21 world" = "helloworld"
22
23 test.target: %.target: ; test "hello\
24 world" = "helloworld"

mercurial