2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
[mono.git] / mcs / class / makefile
index 6a0468646e06eebcf3c74f7e92c5778e31dd46f3..d619d4f87f3baa6ce0b619265974aa25e7b91518 100644 (file)
@@ -1,16 +1,15 @@
-all:
-       @echo "You must use 'make windows' or 'make linux'."
+NANT   = ../nant/NAnt.exe
 
-windows:
-       ../nant/NAnt.exe windows
-
-unix: linux
+all: linux
 
 linux:
-       ../nant/NAnt.exe linux
+       $(NANT)
 
 push:
        scp lib/*.dll mono-cvs:libs
 
+test:
+       $(NANT) test
+
 clean:
-       ../nant/NAnt.exe clean
+       $(NANT) clean