summaryrefslogtreecommitdiffstats
path: root/make/main.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/main.cfg17
1 files changed, 13 insertions, 4 deletions
diff --git a/make/main.cfg b/make/main.cfg
index 031a4047f2..f64b75ad64 100644
--- a/make/main.cfg
+++ b/make/main.cfg
@@ -57,17 +57,26 @@ VARIANTS=${TARGET_ARCH} ${TARGET_VARIANTS:%=${TARGET_ARCH}-%}
# List of "recursion-able" targets for directory Makefiles
#
-RECURSE_TARGETS=all clean protos get clobber depend install \
+RECURSE_TARGETS=all depend install \
preinstall-recursive \
-$(TARGET_VARIANTS) $(TARGET_VARIANTS:%=%_install)
+$(TARGET_VARIANTS)
${ARCH}:
test -d ${ARCH} || mkdir ${ARCH}
-
# general purpose forcing dependency; try to use .PHONY instead
FORCEIT:
FORCE:
-.PHONY: $(RECURSE_TARGETS)
+distclean-generic:
+ -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
+ -$(RM) -r $(CLOBBER_ADDITIONS)
+
+clean-generic:
+ -$(RM) a.out core mon.out gmon.out
+ -$(RM) -r $(CLEAN_ADDITIONS)
+
+.PHONY: $(RECURSE_TARGETS)
+.PHONY: clean-generic
+.PHONY: distclean-generic