summaryrefslogtreecommitdiff
path: root/unit-tests/comment
blob: 7dd7dbbe28b5d47bff74812a157b63276efbc52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This is a comment
.if ${MACHINE_ARCH} == something
FOO=bar
.endif

#\
	Multiline comment

BAR=# defined
FOOBAR= # defined 

# This is an escaped comment \
that keeps going until the end of this line

# Another escaped comment \
that \
goes \
on

# This is NOT an escaped comment due to the double backslashes \\
all: hi foo bar
	@echo comment testing done

hi:
	@echo comment testing start

foo:
	@echo this is $@

bar:
	@echo This is how a comment looks: '# comment'