summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 33a4e6b2..20af0774 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ ifdef MINSIZE
MAKE_FLAGS := MINSIZE=1
endif
-all clean dep depend distclean print realclean:
+all clean dep depend print:
for dir in $(DIRS); do \
if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
true; \
@@ -19,6 +19,17 @@ all clean dep depend distclean print realclean:
fi; \
done
+distclean realclean:
+ for dir in $(DIRS); do \
+ if $(MAKE) $(MAKE_FLAGS) -C $$dir $@; then \
+ true; \
+ else \
+ exit 1; \
+ fi; \
+ done
+ $(HOST_RM) config.log
+ $(HOST_RM) config.status
+
lib:
for dir in $(LIB_DIRS); do \
if $(MAKE) $(MAKE_FLAGS) -C $$dir lib; then \