aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/include_glob_order.mk
blob: 8b337f94e07c3b3ee53fdc67d12b3215148e5141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')

# GNU make 4 doesn't sort glob results.
ifeq ($(MAKEVER,4))

$(info test skipped)

else

test1:
	echo '$$(info foo)' > foo.d
	echo '$$(info bar)' > bar.d

test2:
	echo $(wildcard *.d)

-include *.d

endif