aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/posix_var.mk
blob: 5574f09af3643af0812963fb456929c86f577b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# TODO(go): Fix

MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')

# GNU make 3.82 has this feature though.
ifeq ($(MAKEVER),3)

test:
	echo test skipped

else

$(info $(shell echo foo))
override SHELL := echo
$(info $(shell echo bar))
.POSIX:
$(info $(shell echo baz))
test:
	foobar

endif