2009-03-19 17:19:38 +03:00
|
|
|
VAR = val1 \
|
|
|
|
val2
|
|
|
|
|
|
|
|
VAR2 = val1space\
|
|
|
|
val2
|
|
|
|
|
2009-10-23 19:16:27 +04:00
|
|
|
VAR3 = val3 \\\
|
|
|
|
cont3
|
|
|
|
|
2009-03-19 17:19:38 +03:00
|
|
|
all: otarget test.target
|
|
|
|
test "$(VAR)" = "val1 val2 "
|
|
|
|
test "$(VAR2)" = "val1space val2"
|
2009-10-23 19:16:27 +04:00
|
|
|
test '$(VAR3)' = 'val3 \ cont3'
|
2009-03-19 17:19:38 +03:00
|
|
|
test "hello \
|
|
|
|
world" = "hello world"
|
|
|
|
test "hello" = \
|
|
|
|
"hello"
|
|
|
|
@echo TEST-PASS
|
|
|
|
|
|
|
|
otarget: ; test "hello\
|
|
|
|
world" = "helloworld"
|
|
|
|
|
|
|
|
test.target: %.target: ; test "hello\
|
|
|
|
world" = "helloworld"
|