diff options
-rw-r--r-- | mdk-stage1/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/Makefile b/mdk-stage1/Makefile index ffe6bc254..e885c63c6 100644 --- a/mdk-stage1/Makefile +++ b/mdk-stage1/Makefile @@ -226,10 +226,12 @@ $(STAGE1OBJS-FULL): %-FULL.o: %.c $(DIET) $(COMPILE) $(INCLUDES) -DENABLE_BOOTSPLASH -c $< -clean: +clean: localclean @for n in $(DIRS); do \ (cd $$n; make clean) \ done + +localclean: rm -f *.o .depend *.rdz *.img rescue-gui init-move $(BINS) |