]> rtime.felk.cvut.cz Git - wvtest.git/blobdiff - dotnet/Makefile
Added a Makefile to dotnet as an example of how to run tests.
[wvtest.git] / dotnet / Makefile
diff --git a/dotnet/Makefile b/dotnet/Makefile
new file mode 100644 (file)
index 0000000..77a8663
--- /dev/null
@@ -0,0 +1,20 @@
+all:
+       @echo "Try: make test"
+       @false
+       
+include wvtestrules.mk
+
+CPPFLAGS=-I.
+
+t/test.exe: wvtest.cs wvtestmain.cs t/wvtest.t.cs.E
+       gmcs /out:$@ /debug $^
+
+runtests: t/test.exe
+       cd t && mono --debug test.exe
+       
+test:
+       ../wvtestrunner.pl $(MAKE) runtests
+
+clean::
+       rm -f *~ t/*~ *.E t/*.E *.d t/*.d t/*.exe t/*.mdb
+