blob: 1bfb782fc43a19501cc92d13cfd30dcb541b27a7 [file] [log] [blame]
MAKEVER:=$(shell make --version | grep "Make [0-9]" | sed -E 's/.*Make ([0-9]).*/\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