Add dead code elimination in cmmMiniInline
[ghc-hetmet.git] / driver / ghci / Makefile
index bc3d0bb..2c118fa 100644 (file)
@@ -22,6 +22,7 @@ install::
        $(RM) -f $(GHCII_SCRIPT)
        echo "#!$(SHELL)"                                  >> $(GHCII_SCRIPT)
        echo 'exec "$$0"/../ghc --interactive $${1+"$$@"}' >> $(GHCII_SCRIPT)
+       chmod +x $(GHCII_SCRIPT)
 else
 LINK = ghci
 LINK_TARGET = $(LINK)-$(ProjectVersion)
@@ -36,7 +37,8 @@ install::
 endif
 
 ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-INPLACE_SCRIPT=ghc-pkg-inplace
+INPLACE_SCRIPT=ghci-inplace
+CLEAN_FILES += $(INPLACE_SCRIPT)
 all::
        $(RM) -f $(INPLACE_SCRIPT)
        echo "#!$(SHELL)"                                                              >> $(INPLACE_SCRIPT)