allwinner_a64/android/build/kati/testcase/include_glob_order.mk
2018-08-08 16:48:17 +08:00

19 lines
277 B
Makefile

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