[project @ 2002-01-10 10:33:48 by sof]
authorsof <unknown>
Thu, 10 Jan 2002 10:33:48 +0000 (10:33 +0000)
committersof <unknown>
Thu, 10 Jan 2002 10:33:48 +0000 (10:33 +0000)
mingw only: associate FPish icon (nicked from Hugs) with
the GHCi wrapper app.

ghc/driver/ghci/Makefile
ghc/driver/ghci/ghci.ico [new file with mode: 0644]
ghc/driver/ghci/ghci.rc [new file with mode: 0644]

index c0d9fc8..aeb229c 100644 (file)
@@ -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 (file)
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 (file)
index 0000000..01ed2f4
--- /dev/null
@@ -0,0 +1 @@
+0 ICON "ghci.ico"