summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-rw-r--r--driver/ghc/Makefile2
-rw-r--r--driver/ghci/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/driver/ghc/Makefile b/driver/ghc/Makefile
index 55167ecf9b..dcde9948c0 100644
--- a/driver/ghc/Makefile
+++ b/driver/ghc/Makefile
@@ -2,7 +2,7 @@ TOP=../..
include $(TOP)/mk/boilerplate.mk
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-C_PROG = ghc-$(ProjectVersion)
+C_PROG = ghc-$(ProjectVersion)$(exeext)
INSTALL_PROGS += $(C_PROG)
else
SCRIPT_DIR = $(DESTDIR)$(bindir)
diff --git a/driver/ghci/Makefile b/driver/ghci/Makefile
index 8bb25383ef..47f51b8c23 100644
--- a/driver/ghci/Makefile
+++ b/driver/ghci/Makefile
@@ -9,8 +9,8 @@ include $(TOP)/mk/boilerplate.mk
# ghci script
ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
-C_PROG = ghci
-C_PROG_VERSIONED = $(C_PROG)-$(ProjectVersion)
+C_PROG = ghci$(exeext)
+C_PROG_VERSIONED = ghci-$(ProjectVersion)$(exeext)
C_OBJS += ghci.res
all :: $(C_PROG_VERSIONED)