2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
[mono.git] / mcs / class / makefile
index 7285a89126a0c0d9fe15fb912ea2b081e9e66125..d619d4f87f3baa6ce0b619265974aa25e7b91518 100644 (file)
@@ -1,15 +1,15 @@
-DIRS=corlib System System.XML
-ROOT=//$(subst \,/,$(subst :\,/,$(SYSTEMROOT)))
-CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe
+NANT   = ../nant/NAnt.exe
 
-all:
-       @echo "You must use 'make windows' or 'make unix'."
-       @echo "'make unix' is broken for now."
+all: linux
 
-windows:
-       for i in $(DIRS); do                            \
-               (cd $$i; CSC=$(CSC) NUNIT_CONSOLE=NUnitConsole.exe PLATFORM=window make windows) || exit 1;\
-       done;
+linux:
+       $(NANT)
 
-unix:
-       @echo "'make unix' is broken for now."
+push:
+       scp lib/*.dll mono-cvs:libs
+
+test:
+       $(NANT) test
+
+clean:
+       $(NANT) clean