]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - cpp/Makefile
Fix standalone compilation of wvtest/cpp.
[wvtest.git] / cpp / Makefile
diff --git a/cpp/Makefile b/cpp/Makefile
new file mode 100644 (file)
index 0000000..5d8b6a8
--- /dev/null
@@ -0,0 +1,16 @@
+
+all:
+       @echo "Try: make test"
+       @false
+       
+t/wvtest: wvtestmain.cc wvtest.cc t/wvtest.t.cc
+       g++ -D WVTEST_CONFIGURED -o $@ -I. $^
+       
+runtests: t/wvtest
+       t/wvtest
+
+test:
+       ../wvtestrunner.pl $(MAKE) runtests
+       
+clean::
+       rm -f *~ *.o t/*.o t/wvtest