shithub: choc

Download patch

ref: f8d14bad71184718a1ed1f646a07c8a5b9204cd6
parent: 1f2a875ab5dbe522366f79c11efd36a3854c66a5
author: Simon Howard <[email protected]>
date: Tue Sep 20 16:13:15 EDT 2005

Include icon in exe, rather than the default icon. Thanks to Joe Kennedy
for drawing this icon.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 115

--- a/Makefile.am
+++ b/Makefile.am
@@ -4,8 +4,14 @@
         $(ac_aux_dir)/install-sh        \
         $(ac_aux_dir)/missing 
 
+EXTRA_DIST=                             \
+        $(AUX_DIST_GEN)                 \
+        config.h                        \
+        TODO                            \
+        BUGS                            \
+        data/chocolate-doom.png         \
+        data/chocolate-doom.ico
 
-EXTRA_DIST=$(AUX_DIST_GEN) config.h TODO BUGS
 MAINTAINERCLEANFILES =  $(AUX_DIST_GEN)
 
 docdir=$(prefix)/share/doc/@PACKAGE@
binary files /dev/null b/data/chocolate-doom.ico differ
binary files /dev/null b/data/chocolate-doom.png differ
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,8 +25,12 @@
 d_player.h  i_sound.c   m_swap.h    p_spec.c    r_sky.c     z_zone.c	\
 dstrings.c  i_sound.h   p_ceilng.c  p_spec.h    r_sky.h     z_zone.h	\
 dstrings.h  i_system.c  p_doors.c   p_switch.c  r_state.h   mmus2mid.c  \
-d_textur.h  i_system.h  p_enemy.c   p_telept.c  r_things.c  mmus2mid.h
+d_textur.h  i_system.h  p_enemy.c   p_telept.c  r_things.c  mmus2mid.h  \
+chocolate-doom-res.rc
 
 bin_PROGRAMS = chocolate-doom
 
+
+.rc.o:
+	windres $^ -o $@