aboutsummaryrefslogtreecommitdiffstats
path: root/testcase/or.mk
blob: 2850758e91ee6015fa9f335f9a08b4c198d24c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TRUE:=foo
FALSE:=
XY:=x 	y
X:=$(subst y, ,$(XY))
Y:=$(subst x, ,$(XY))

$(or ${FALSE}, $(info PASS_1))
# expect "foo"
$(info $(or ${TRUE}, $(info FAIL_2)))
# Too many arguments.
$(info $(or ${FALSE}, PASS, PASS))

$(info $(or ${FALSE}, $(X)  ))
$(info $(or ${FALSE}, $(Y)  ))
$(info $(or ${FALSE} , PASS, PASS))

test:
	echo OK