2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / Makefile
index fce348c729636bddb8c1e99629c6cbb5628ace4f..fefb0a79b63a7e6386b36f96eb8b0ab8f53b5cd7 100644 (file)
@@ -7,11 +7,9 @@ include build/rules.make
 
 #all: platform-check profile-check all-recursive #all-local
 
-.PHONY: all clean all-profile clean-profile install uninstall test run-test testcorlib
-all clean:
-       $(MAKE) $@-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
 
@@ -21,7 +19,7 @@ test: platform-check profile-check test-recursive #test-local
 
 run-test: run-test-recursive #run-test-local
 
-clean-profile: clean-recursive #clean-local
+clean: clean-recursive #clean-local
 
 # fun specialty targets
 
@@ -29,6 +27,10 @@ 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