X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdriver%2Fghci%2FMakefile;h=9392249f03d78aa3fb25fa51148ef8d344ca84b2;hb=28a464a75e14cece5db40f2765a29348273ff2d2;hp=c0d9fc81d4c23b9d7a26da03a95d327ace88dc89;hpb=fe79800292ca4cf51088c8134e1095abc7eaf08c;p=ghc-hetmet.git diff --git a/ghc/driver/ghci/Makefile b/ghc/driver/ghci/Makefile index c0d9fc8..9392249 100644 --- a/ghc/driver/ghci/Makefile +++ b/ghc/driver/ghci/Makefile @@ -1,5 +1,5 @@ #----------------------------------------------------------------------------- -# $Id: Makefile,v 1.9 2001/10/12 14:28:08 rrt Exp $ +# $Id: Makefile,v 1.11 2005/05/05 00:58:38 sof Exp $ # TOP=../.. @@ -29,6 +29,7 @@ INPLACE_SCRIPT_PROG = ghci-inplace ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" C_PROG = ghci +C_OBJS += ghci.res else C_SRCS= endif @@ -39,6 +40,7 @@ SCRIPT_SUBST_VARS = GHCBIN TOPDIROPT ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" INSTALL_SCRIPTS += $(SCRIPT_PROG) else +INSTALL_SCRIPTS += ghcii.sh INSTALL_PROGS += $(C_PROG) endif TOPDIROPT = -B$(GHCLIB) @@ -59,4 +61,9 @@ all clean distclean maintainer-clean :: $(MAKE) INSTALLING=0 BIN_DIST=0 $(MFLAGS) $@ endif +ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +ghci.res : ghci.rc ghci.ico + windres -o ghci.res -i ghci.rc -O coff +endif + include $(TOP)/mk/target.mk