2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / makefile
index 5619e2888f49f98e44b9b30d7230a2a688f3ac1b..d619d4f87f3baa6ce0b619265974aa25e7b91518 100644 (file)
@@ -1,23 +1,15 @@
-DIRS=corlib System System.Drawing System.Web System.XML
-ROOT=/cygdrive/$(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;
-
-unix:
-       @echo "'make unix' is broken for now."
+linux:
+       $(NANT)
 
 push:
-       scp */*.dll mono-cvs:libs
+       scp lib/*.dll mono-cvs:libs
+
+test:
+       $(NANT) test
 
 clean:
-       for i in $(DIRS); do    \
-               (cd $$i; make clean) || exit 1;\
-       done;
+       $(NANT) clean