2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / Makefile
index 6b76fee3f2937ad3b4ff76ad9916be7d81a6e6e2..fefb0a79b63a7e6386b36f96eb8b0ab8f53b5cd7 100644 (file)
@@ -1,5 +1,5 @@
 thisdir := .
-SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs gmcs
+SUBDIRS := build jay mcs class mbas nunit20 monoresgen ilasm tools tests errors docs
 OVERRIDE_BARE_TARGETS = hells yeah
 include build/rules.make
 
@@ -7,11 +7,9 @@ include build/rules.make
 
 #all: platform-check profile-check all-recursive #all-local
 
-all:
-       $(MAKE) PROFILE=default all-profile || exit 1; \
-       $(MAKE) PROFILE=net_2_0 all-profile || exit 1;
+.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