1
0
Files
irix-657m-src/eoe/cmd/pmake/tests/empty.test
2022-09-29 17:59:04 +03:00

22 lines
369 B
Plaintext

#
# Makefile to test the empty() conditional
#
A=
B=hi there
C=cc
a::
#if !empty(A)
: empty(A) didn't work
#endif
#if empty(B:Mhi)
: empty(B:Mhi) didn't work
#endif
#if !empty(C:S/cc//)
: empty(B:S/cc//) didn't work -- check Var_Parse
#endif
#if empty(A) && !empty(B:Mhi) && empty(C:S/cc//)
: life I love you
: all is groovy
: -- P. Simon and A. Garfunkel
#endif