tests/%:
rm -rf $(DIR)
mkdir -p $(DIR)
- echo 'WVSTART() { if [ "$$WV" ]; then exit; else WV=1; fi; }; WVPASS() { :; }; needs_valid_CC() { :; }; omkize() { :; }' > $(DIR)/wvtest.sh
+ echo 'WVSTART() { local d=$(CURDIR)/$(DIR)/$$(echo $$1|tr " " -|tr A-Z a-z); mkdir -p $$d && cd $$d; }; WVPASS() { :; }; needs_valid_CC() { :; }; omkize() { :; }' > $(DIR)/wvtest.sh
cd $(DIR) && ../../../$(DIR)
%.pdf: %.png
source @file{test.c}.
@example
-@verbatiminclude tests/programs/Makefile.omk
+@verbatiminclude tests/programs/compile-a-single-source-c-program/Makefile.omk
@end example
@noindent The variables are:
by other programs.
@example
-@verbatiminclude tests/libraries/Makefile.omk
+@verbatiminclude tests/libraries/static-library/Makefile.omk
@end example
@noindent Variables for use with libraries are: