From 8a95a7ebce828828aba12c1dbb7bad067e3535e9 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 17 Oct 2007 15:28:20 +0000 Subject: [PATCH] fix creation of ghc-inplace for non-std ways --- compiler/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index e19e560..be09d35 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -754,11 +754,9 @@ ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" INPLACE_EXTRA_FLAGS = -optc-DWINDOWS endif -$(INPLACE_SRC): ghc-inplace.c - $(SED) -e "s@GHC_PATH@$(GHC_PATH)@g" -e "s@TOP_ABS@$(FPTOOLS_TOP_ABS)@g" < $< > $@ - -$(INPLACE_PROG): $(INPLACE_SRC) - $(HC) -cpp $(INPLACE_EXTRA_FLAGS) $< -o $@ +$(INPLACE_PROG): ghc-inplace.c + $(SED) -e "s@GHC_PATH@$(GHC_PATH)@g" -e "s@TOP_ABS@$(FPTOOLS_TOP_ABS)@g" < $< > $(INPLACE_SRC) + $(HC) -cpp $(INPLACE_EXTRA_FLAGS) $(INPLACE_SRC) -o $@ all :: $(INPLACE_PROG) -- 1.7.10.4