michael@0: # where do comments take effect? michael@0: michael@0: VAR = val1 # comment michael@0: VAR2 = lit2\#hash michael@0: VAR2_1 = lit2.1\\\#hash michael@0: VAR3 = val3 michael@0: VAR4 = lit4\\#backslash michael@0: VAR4_1 = lit4\\\\#backslash michael@0: VAR5 = lit5\char michael@0: VAR6 = lit6\\char michael@0: VAR7 = lit7\\ michael@0: VAR8 = lit8\\\\ michael@0: VAR9 = lit9\\\\extra michael@0: # This comment extends to the next line \ michael@0: VAR3 = ignored michael@0: michael@0: all: michael@0: test "$(VAR)" = "val1 " michael@0: test "$(VAR2)" = "lit2#hash" michael@0: test '$(VAR2_1)' = 'lit2.1\#hash' michael@0: test "$(VAR3)" = "val3" michael@0: test '$(VAR4)' = 'lit4\' michael@0: test '$(VAR4_1)' = 'lit4\\' michael@0: test '$(VAR5)' = 'lit5\char' michael@0: test '$(VAR6)' = 'lit6\\char' michael@0: test '$(VAR7)' = 'lit7\\' michael@0: test '$(VAR8)' = 'lit8\\\\' michael@0: test '$(VAR9)' = 'lit9\\\\extra' michael@0: @echo "TEST-PASS"