From 5225c33c9c47d4692d512a4bdcac488a53bb0c24 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 10 Jan 2002 10:33:48 +0000 Subject: [PATCH] [project @ 2002-01-10 10:33:48 by sof] mingw only: associate FPish icon (nicked from Hugs) with the GHCi wrapper app. --- ghc/driver/ghci/Makefile | 8 +++++++- ghc/driver/ghci/ghci.ico | Bin 0 -> 766 bytes ghc/driver/ghci/ghci.rc | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 ghc/driver/ghci/ghci.ico create mode 100644 ghc/driver/ghci/ghci.rc 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 0000000000000000000000000000000000000000..680be76e715111a807427dc6889a0da1993bd20b GIT binary patch literal 766 zcmb`FJ#K?Q5QU$UNTEPVs??OZMRK$)>A2D!U?pF{WlG8vmL}h00fS??^1#gQ)vJgd6GU@KhX~TMh|+yB5=1QNxVv_E?Bn8IkTFG=~aYxD33qcNM#kH4J-xN zt}L5uny^`LXv;DB-WYo>xh*lO8KT;fp(z3;l^rT3K!chY69A5Jg9pI)HuFvZMru5` z-(eEqeBr?^x%#{KT|7?BxcE;e+Qf%Xcn{a|%lUk}jsNek$B;Xo#&{OU+@B`Za$x#N zD>dCN!u>tEmy3J8p2xp=UC(nnVA^t)zMTIgy=Lh-@w-{|U|I5JYMiL$ny&o^xGa=- literal 0 HcmV?d00001 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" -- 1.7.10.4