From 5d82b8a5f6bedb0f62727e5dde90cef054edba1e Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 17 Aug 2008 12:10:00 +0000 Subject: [PATCH] Don't clean the multi-stage stuff unless CLEAN_ALL_STAGES is YES --- compiler/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/Makefile b/compiler/Makefile index 51ba8b9..eabf9c6 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -55,6 +55,7 @@ stage2 :: stage3 :: $(MAKE) stage=3 +ifeq "$(CLEAN_ALL_STAGES)" "YES" clean distclean:: $(RM) -f prelude/primops.txt $(RM) -f $(PRIMOP_BITS) @@ -62,6 +63,7 @@ clean distclean:: $(RM) -f parser/Parser.y $(RM) -rf stage1 stage2plus $(RM) -f $(STAGE3_PACKAGE_CONF) +endif ifeq "$(CLEAN_ALL_STAGES)" "YES" clean distclean:: clean.stage.1 clean.stage.2 clean.stage.3 -- 1.7.10.4