aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/wildcard_with_commas.mk
blob: 335c7edd7785e748e2e46727ccafba972a00d85a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
files = $(wildcard *,*)

# test expectes empty, since no *,* found.
test:
	echo $(files)
	touch foo,bar

# when foo,bar doesn't exit, "make test2" report empty.
# next "make test2" reports "foo,bar".
test2: foo,bar
	echo $(files)

foo,bar:
	touch foo,bar