Home | History | Annotate | Download | only in testcase
      1 MAKEVER:=$(shell make --version | ruby -n0e 'puts $$_[/Make (\d)/,1]')
      2 
      3 ifeq ($(MAKEVER),4)
      4 # A variable name with space is invalid on GNU make 4.
      5 all:
      6 	echo PASS
      7 else
      8 varname_with_ws:=hello, world!
      9 $(varname_with_ws):=PASS
     10 foo bar = PASS2
     11 all:
     12 	echo $(hello, world!)
     13 	echo $(foo bar)
     14 endif
     15