Home | History | Annotate | Download | only in testcase
      1 TRUE:=foo
      2 FALSE:=
      3 XY:=x 	y
      4 X:=$(subst y, ,$(XY))
      5 Y:=$(subst x, ,$(XY))
      6 
      7 $(and ${TRUE}, $(info PASS_1))
      8 $(and ${FALSE}, $(info FAIL_2))
      9 # Too many arguments.
     10 $(info $(and ${TRUE}, PASS, PASS))
     11 
     12 $(info $(and ${TRUE}, $(X)  ))
     13 $(info $(and ${TRUE}, $(Y)  ))
     14 $(and ${FALSE} , $(info FAIL_3))
     15 
     16 test:
     17 	echo OK
     18