-all:
- @echo "There's nothing to build here except the tests."
+all: build
@echo
@echo "Try: make test"
-
-runtests:
- make -C python runtests
- make -C dotnet runtests
- make -C cpp runtests
-
-test:
- ./wvtestrunner $(MAKE) runtests
+
+build:
+ $(MAKE) -C dotnet all
+ $(MAKE) -C cpp all
+ $(MAKE) -C c all
+
+runtests: build
+ $(MAKE) -C sh runtests
+ $(MAKE) -C python runtests
+ $(MAKE) -C dotnet runtests
+ $(MAKE) -C cpp runtests
+ $(MAKE) -C c runtests
+
+
+test: build
+ ./wvtestrun $(MAKE) runtests
clean::
rm -f *~ .*~
- make -C python clean
- make -C dotnet clean
- make -C cpp clean
+ $(MAKE) -C sh clean
+ $(MAKE) -C python clean
+ $(MAKE) -C dotnet clean
+ $(MAKE) -C cpp clean
+ $(MAKE) -C c clean