build/pymake/tests/line-continuations.mk
author Simon Sapin <simon.sapin@exyr.org>
Tue, 06 Jun 2017 08:13:39 -0700
changeset 1150023 c6508a9f0fb5f1648b37f299be7f3e481cb26c31
parent 34127 b288c2d37d6bf899ca173dbecf3b27ec34aa6d1c
permissions -rw-r--r--
servo: Merge #17185 - Fix some "unused" warnings (from servo:unused); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 87005a0df33531995635728989c929572de429e7

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"