[project @ 2005-03-08 19:13:27 by sof]
authorsof <unknown>
Tue, 8 Mar 2005 19:13:27 +0000 (19:13 +0000)
committersof <unknown>
Tue, 8 Mar 2005 19:13:27 +0000 (19:13 +0000)
explicitly use 'exeext' to avoid cygwin 'cp' weirdity

ghc/utils/runghc/Makefile

index cd2f607..6a42fa7 100644 (file)
@@ -1,7 +1,7 @@
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
 
-HS_PROG                = runghc
+HS_PROG                = runghc$(exeext)
 INSTALL_PROGS   += $(HS_PROG)
 
 UseGhcForCc = YES
@@ -34,7 +34,7 @@ SRC_MKDEPENDHS_OPTS += \
 all :: runhaskell
 
 runhaskell : $(HS_PROG)
-       $(CP) $< runhaskell
+       $(CP) $< runhaskell$(exeext)
 
 # Only install runhaskell if there isn't already one installed
 ifneq "$(findstring install, $(MAKECMDGOALS))" ""