huangcm
2025-04-22 c8cf547b11f2c03565d8fb8b8bcdc69860d0ed08
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