2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / Makefile
index 8e88401e83c9b2a767a2ded2e096f3fb972adf64..fefb0a79b63a7e6386b36f96eb8b0ab8f53b5cd7 100644 (file)
@@ -7,11 +7,9 @@ include build/rules.make
 
 #all: platform-check profile-check all-recursive #all-local
 
-all:
-       $(MAKE) PROFILE=default all-profile
-       $(MAKE) PROFILE=net_2_0 all-profile
+.PHONY: all clean all-profiles clean-profiles install uninstall test run-test testcorlib
 
-all-profile: platform-check profile-check all-recursive
+all: platform-check profile-check all-recursive
 
 install: platform-check profile-check install-recursive #install-local
 
@@ -25,6 +23,14 @@ clean: clean-recursive #clean-local
 
 # fun specialty targets
 
+all-profiles:
+       $(MAKE) PROFILE=default all || exit 1 ; \
+       $(MAKE) PROFILE=net_2_0 all || exit 1 ;
+
+clean-profiles:
+       $(MAKE) PROFILE=default clean || exit 1 ; \
+       $(MAKE) PROFILE=net_2_0 clean || exit 1 ;
+
 testcorlib:
        @cd class/corlib && $(MAKE) test run-test