Fix ghc and ghci wrappers on Windows
[ghc-hetmet.git] / driver / ghci / Makefile
index 8bb2538..47f51b8 100644 (file)
@@ -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)