xref: /freebsd/contrib/bmake/unit-tests/comment.mk (revision 98e0ffaefb0f241cda3a72395d3be04192ae0d47)
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