Small hack to avoid the make -f makefile.gnu
authorMiguel de Icaza <miguel@gnome.org>
Thu, 26 Sep 2002 18:22:30 +0000 (18:22 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Thu, 26 Sep 2002 18:22:30 +0000 (18:22 -0000)
svn path=/trunk/mcs/; revision=7839

mcs/makefile

index a07cc55d4442fd86dde7b785881223b81a1a0c10..f0854bccb9780396e3696b527fd82d23eabbaa07 100755 (executable)
@@ -2,11 +2,15 @@ VERSION=0.13.99
 
 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: