blob: 6f7481662b3bc128dafe61da49b5ecf45d5c6d52 [file] [log] [blame]
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