a3cc11808b
early. Add a unit-test to verify it works and keeps working. Re-jig the unit-tests so that all are sub makefiles.
9 lines
206 B
Plaintext
9 lines
206 B
Plaintext
|
|
all:
|
|
@for x in "" A= A=42; do ${.MAKE} -f ${MAKEFILE} show $$x; done
|
|
|
|
show:
|
|
@echo "The answer is ${A:?known:unknown}"
|
|
@echo "The answer is ${A:?$A:unknown}"
|
|
@echo "The answer is ${empty(A):?empty:$A}"
|