aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/comment_in_command.mk
blob: a734bc261b249fc59779cc79429f89ca9d381258 (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
MAKEVER:=$(shell make --version | grep "Make [0-9]" | sed -E 's/.*Make ([0-9]).*/\1/')

test1:
	# foo
	echo PASS

test2: make$(MAKEVER)

make4:
	# foo  \
echo PASS

make3:
	# foo  \
	echo PASS

test3: $(shell echo foo #)

test4:
	echo $(shell echo OK # FAIL \
	FAIL2)

test5:
	echo $(shell echo $$(echo PASS))

foo:
	echo OK