Added new arch clean which only removes O.<arch> dirs not O.Common.

This commit is contained in:
Janet B. Anderson
2004-03-24 20:20:04 +00:00
parent 6af0cdeb50
commit ad89f422ce
3 changed files with 6 additions and 2 deletions

View File

@@ -68,6 +68,9 @@ $(checkReleaseTargets):checkRelease.%:
clean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS)) O.Common
archclean ::
$(RMDIR) $(addprefix O.,$(BUILD_ARCHS))
$(cleanArchTargets) ::
$(RMDIR) O.$(archPart)
@@ -77,6 +80,6 @@ realclean ::
.PHONY : $(actionArchTargets)
.PHONY : $(cleanArchTargets)
.PHONY : $(BUILD_ARCHS)
.PHONY : $(ACTIONS) clean realclean all
.PHONY : $(ACTIONS) clean realclean archclean all
.PHONY : checkRelease $(checkReleaseTargets)

View File

@@ -13,7 +13,7 @@
ARCHS += $(BUILD_ARCHS)
ACTIONS += inc build install buildInstall clean realclean
ACTIONS += inc build install buildInstall clean realclean archclean
dirPart = $(word 1, $(subst $(DIVIDER), ,$@))
actionArchPart = $(join $(word 2, $(subst $(DIVIDER), ,$@)), \

View File

@@ -60,6 +60,7 @@ help:
@echo " rebuild - Same as clean install"
@echo " inc - Installs header files"
@echo " build - Builds all targets"
@echo " archclean - Removes O.<arch> dirs but not O.Common dir"
@echo "\"Partial\" build targets supported by Makefiles:"
@echo " inc.<arch> - Installs <arch> only header files."
@echo " install.<arch> - Builds and installs <arch> only."