diff options
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 \ |