From: Ian Lynagh Date: Sun, 17 Aug 2008 12:10:00 +0000 (+0000) Subject: Don't clean the multi-stage stuff unless CLEAN_ALL_STAGES is YES X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=5d82b8a5f6bedb0f62727e5dde90cef054edba1e Don't clean the multi-stage stuff unless CLEAN_ALL_STAGES is YES --- 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