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