]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - Makefile
Fix Makefile.omk to compile the test correctly
[wvtest.git] / Makefile
index 1b477c9617a522ec73d8e110a4307ea2f68adf63..2fce0d58fca1a1b84dcd4a491b0cc3caaf1fd7f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,28 @@
 
-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