#all: platform-check profile-check all-recursive #all-local
-.PHONY: all clean all-profile clean-profile install uninstall test run-test testcorlib
-all clean:
-ifeq ($(PROFILE),)
- $(MAKE) PROFILE=default $@-profile
-ifneq ($(PLATFORM),win32)
- $(MAKE) PROFILE=net_2_0 $@-profile
-endif
-else
- $(MAKE) PROFILE=$(PROFILE) $@-profile
-endif
-
-all-profile: platform-check profile-check all-recursive
+.PHONY: all clean all-profiles clean-profiles install uninstall test run-test testcorlib
+
+all: platform-check profile-check all-recursive
install: platform-check profile-check install-recursive #install-local
run-test: run-test-recursive #run-test-local
-clean-profile: clean-recursive #clean-local
+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