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

14 lines
291 B
Makefile

MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')
ifeq ($(MAKEVER),4)
# A variable name with space is invalid on GNU make 4.
all:
echo PASS
else
varname_with_ws:=hello, world!
$(varname_with_ws):=PASS
foo bar = PASS2
all:
echo $(hello, world!)
echo $(foo bar)
endif