PageRenderTime 16ms CodeModel.GetById 8ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1VAR = val1 	 \
 2  	  val2  
 3
 4VAR2 = val1space\
 5val2
 6
 7VAR3 = val3 \\\
 8	cont3
 9
10all: 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
20otarget: ; test "hello\
21	world" = "helloworld"
22
23test.target: %.target: ; test "hello\
24	world" = "helloworld"