[project @ 2005-03-11 12:54:08 by simonmar]
[ghc-hetmet.git] / ghc / utils / runghc / Makefile
index 6a42fa7..0bd4330 100644 (file)
@@ -36,10 +36,12 @@ all :: runhaskell
 runhaskell : $(HS_PROG)
        $(CP) $< runhaskell$(exeext)
 
+CLEAN_FILES += runhaskell
+
 # Only install runhaskell if there isn't already one installed
 ifneq "$(findstring install, $(MAKECMDGOALS))" ""
 ifeq "$(wildcard $(bindir)/runhaskell)" ""
-INSTALL_PROGS += runhaskell
+INSTALL_PROGS += runhaskell$(exeext)
 endif
 endif