/build/pymake/tests/line-continuations.mk
http://github.com/zpao/v8monkey · Makefile · 24 lines · 19 code · 5 blank · 0 comment · 0 complexity · 8ff30090b613e2bf7d01ee0017d38ef9 MD5 · raw file
- 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"