File: comment.mk

package info (click to toggle)
bmake 20200710-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,292 kB
  • sloc: ansic: 18,989; sh: 1,028; python: 487; makefile: 356; perl: 100
file content (31 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (5)
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'