2002-05-07 Duncan Mak <duncan@ximian.com>
[mono.git] / mcs / makefile
index eb05693978066a3a59d970267305cd9795a9ef4c..981259a664c92bf5a2e5d5fc587460e123bdb0ba 100755 (executable)
@@ -1,13 +1,23 @@
-DIRS=jay mcs class
+DIRS=jay nant mcs class nunit tools
 
-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; make windows)          \
+               (cd $$i; make linux)            \
+       done
+
+linux:
+       for i in $(DIRS); do                    \
+               (cd $$i; make linux) || exit 1; \
+       done
+
+test:
+       (cd nunit; make)
+       (cd class; make test)
+
+clean:
+       for i in $(DIRS); do                    \
+               (cd $$i; make clean)            \
        done
 
-unix:
-       echo "'make unix' is broken for now."