xref: /freebsd/contrib/bmake/unit-tests/comment.mk (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
1# This is a comment
2.if ${MACHINE_ARCH} == something
3FOO=bar
4.endif
5
6#\
7	Multiline comment
8
9BAR=# defined
10FOOBAR= # defined
11
12# This is an escaped comment \
13that keeps going until the end of this line
14
15# Another escaped comment \
16that \
17goes \
18on
19
20# This is NOT an escaped comment due to the double backslashes \\
21all: hi foo bar
22	@echo comment testing done
23
24hi:
25	@echo comment testing start
26
27foo:
28	@echo this is $@
29
30bar:
31	@echo This is how a comment looks: '# comment'
32