gecko/build/pymake/tests/line-continuations.mk

21 lines
339 B
Makefile

VAR = val1 \
val2
VAR2 = val1space\
val2
all: otarget test.target
test "$(VAR)" = "val1 val2 "
test "$(VAR2)" = "val1space val2"
test "hello \
world" = "hello world"
test "hello" = \
"hello"
@echo TEST-PASS
otarget: ; test "hello\
world" = "helloworld"
test.target: %.target: ; test "hello\
world" = "helloworld"