2002-10-14 Sebastien Pouliot <spouliot@videotron.ca>
[mono.git] / mcs / makefile
index c02c00bd5788763867dc5fd450e2b83290e1d575..f0854bccb9780396e3696b527fd82d23eabbaa07 100755 (executable)
@@ -1,12 +1,16 @@
 VERSION=0.13.99
 
-DIRS=jay nant mcs class nunit tools
+DIRS=jay nant mcs class nunit tools monoresgen
 
-all: linux
+all: 
+       if test x$(OS) = xWindows_NT; then make linux; else make -f makefile.gnu; fi
+
+install:
+       if test x$(OS) = xWindows_NT; then echo Can not install on Windows ; else make -f makefile.gnu install; fi
 
 windows:
        for i in $(DIRS); do                    \
-               (cd $$i; make linux)            \
+               (cd $$i; make linux) || exit 1; \
        done
 
 linux: