From cb0bf68aa475ddb96b0ecc3ac3676ad9f5598b59 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 13 Apr 2014 20:01:18 +0000 Subject: Add Windows icon capability, centralize make rule for link of programs git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2182 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- icon/Makefile | 24 ++++++++++++++++++++++++ icon/netpbm.ico | Bin 0 -> 3774 bytes icon/netpbm.ppm | 12 ++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 icon/Makefile create mode 100644 icon/netpbm.ico create mode 100644 icon/netpbm.ppm (limited to 'icon') diff --git a/icon/Makefile b/icon/Makefile new file mode 100644 index 00000000..0bd33bf4 --- /dev/null +++ b/icon/Makefile @@ -0,0 +1,24 @@ +ifeq ($(SRCDIR)x,x) + SRCDIR = $(CURDIR)/.. + BUILDDIR = $(SRCDIR) +endif +SUBDIR = buildtools +VPATH = .:$(SRCDIR)/$(SUBDIR) +include $(BUILDDIR)/config.mk + +all: netpbm.ico + +include $(SRCDIR)/common.mk + +%.ico:%.ppm + ppmtowinicon $< >$@ + +%.o:%.ico + echo "id ICON \"$<\"" >rc + windres --input-format rc --input rc --output-format coff --output $@ + rm rc + +distclean clean: cleanlocal +.PHONY: cleanlocal +cleanlocal: + rm -f rc diff --git a/icon/netpbm.ico b/icon/netpbm.ico new file mode 100644 index 00000000..3bb8e29f Binary files /dev/null and b/icon/netpbm.ico differ diff --git a/icon/netpbm.ppm b/icon/netpbm.ppm new file mode 100644 index 00000000..eb5e9d71 --- /dev/null +++ b/icon/netpbm.ppm @@ -0,0 +1,12 @@ +P6 +48 48 +255 +****'''' PPoooooPP<7YYhwwhhYHPoo>tbdvD~whH'*PVvhh$wh'*o"^vpp$h7*o^z̢̒|\h7oVz̢ҸҸx\hPo0n̢Ҹx4wH o V{\h'*0n x4wHoBn xY +Y oZ`XXaaaLLxY +h'*o Zhl`ؖX|ii4Y + +h'*o b`lhȠؖؖ|ild` + + +w'*olb`Ƞؖd`\ +w'*ohlX̹d \h'PhhX̰ҜL ih'Pg>j̰ҰҐtL ii4Y*d(jҐt,Ԝhw7odRztTԜh4h*odd(p̌؞Ԯt,ԜȨ|4wHP`Lp̌؞Ԯ̼tPȨTwY *P`Lv̌Plwh'*P|lڸڰRvtTlzlh'*TlttИЦFj~ttLrVl/q4tt|̇|*lVTn,z~~r^6q/Rq4DTXddXXD! &BBddddXJ6R/R!!!R/qq//Rq//qq//Rqqq//qqq//qqR//qqqqq/RqqqqqR//RqqqqqqRR////// \ No newline at end of file -- cgit 1.4.1