]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - c/Makefile
Add wvtest for C
[wvtest.git] / c / Makefile
diff --git a/c/Makefile b/c/Makefile
new file mode 100644 (file)
index 0000000..a4c447b
--- /dev/null
@@ -0,0 +1,14 @@
+
+all: t/wvtest
+
+t/wvtest: wvtestmain.c wvtest.c t/wvtest.t.c
+       gcc -D WVTEST_CONFIGURED -o $@ -I. $^
+
+runtests: all
+       t/wvtest
+
+test: all
+       ../wvtestrun $(MAKE) runtests
+
+clean::
+       rm -f *~ t/*~ *.o t/*.o t/wvtest