1TRUE:=foo 2FALSE:= 3XY:=x y 4X:=$(subst y, ,$(XY)) 5Y:=$(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 16test: 17 echo OK 18