From: sof Date: Thu, 10 Jan 2002 10:33:48 +0000 (+0000) Subject: [project @ 2002-01-10 10:33:48 by sof] X-Git-Tag: Approximately_9120_patches~291 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5225c33c9c47d4692d512a4bdcac488a53bb0c24;p=ghc-hetmet.git [project @ 2002-01-10 10:33:48 by sof] mingw only: associate FPish icon (nicked from Hugs) with the GHCi wrapper app. --- diff --git a/ghc/driver/ghci/Makefile b/ghc/driver/ghci/Makefile index c0d9fc8..aeb229c 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.10 2002/01/10 10:33:48 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 @@ -59,4 +60,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 diff --git a/ghc/driver/ghci/ghci.ico b/ghc/driver/ghci/ghci.ico new file mode 100644 index 0000000..680be76 Binary files /dev/null and b/ghc/driver/ghci/ghci.ico differ diff --git a/ghc/driver/ghci/ghci.rc b/ghc/driver/ghci/ghci.rc new file mode 100644 index 0000000..01ed2f4 --- /dev/null +++ b/ghc/driver/ghci/ghci.rc @@ -0,0 +1 @@ +0 ICON "ghci.ico"