22 lines
369 B
Plaintext
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
|