github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/kati/testcase/or.mk (about)

     1  TRUE:=foo
     2  FALSE:=
     3  XY:=x 	y
     4  X:=$(subst y, ,$(XY))
     5  Y:=$(subst x, ,$(XY))
     6  
     7  $(or ${FALSE}, $(info PASS_1))
     8  # expect "foo"
     9  $(info $(or ${TRUE}, $(info FAIL_2)))
    10  # Too many arguments.
    11  $(info $(or ${FALSE}, PASS, PASS))
    12  
    13  $(info $(or ${FALSE}, $(X)  ))
    14  $(info $(or ${FALSE}, $(Y)  ))
    15  $(info $(or ${FALSE} , PASS, PASS))
    16  
    17  test:
    18  	echo OK