diff options
| -rw-r--r-- | ghc/compiler/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 72985607a0..0c877ce431 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -680,7 +680,11 @@ $(odir)/ghc-inplace : $(HS_PROG) ghc-inplace : stage1/ghc-inplace $(LN_S) -f $< $@ -CLEAN_FILES += $(odir)/ghc-inplace ghc-inplace +ifeq "$(stage)" "1" +CLEAN_FILES += ghc-inplace +endif + +CLEAN_FILES += $(odir)/ghc-inplace #----------------------------------------------------------------------------- # install |
