X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FMakefile;h=0c877ce431a14b45eec8539e27b299f3f96b9e48;hb=2f0d9b271c16303f1f7f97b35df721fbbebd1cae;hp=72985607a0331f12283d8133740d8a0bf5d1db7b;hpb=4c7b8ec3e7852f88f4c355de2745dc594d120819;p=ghc-hetmet.git diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 7298560..0c877ce 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