tWindows resource and executable files added to "make clean". - vaccinewars - be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit 552fc3aa66ce14482f8dd357e0eacca124eaa2aa
parent 7f52f723d7d73d188e5187dc9c3ce5a8488bdd65
Author: Ben Webb 
Date:   Mon,  4 Mar 2002 11:44:23 +0000

Windows resource and executable files added to "make clean".


Diffstat:
  M src/Makefile.am                     |       1 +
  M src/Makefile.in                     |       2 ++

2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
t@@ -33,6 +33,7 @@ DOPEDIR    = ${DESTDIR}${bindir}
 DOPEBIN    = ${DOPEDIR}/dopewars
 PIXMAPS    = dopewars-pill.png dopewars-shot.png dopewars-weed.png
 EXTRA_DIST = ${PIXMAPS} pill.ico magic dopewars.rc
+CLEANFILES = dopewars.res dopewars.exe
 
 install-exec-hook:
         @chgrp games ${DOPEBIN} || chgrp wheel ${DOPEBIN} || \
diff --git a/src/Makefile.in b/src/Makefile.in
t@@ -121,6 +121,7 @@ DOPEDIR = ${DESTDIR}${bindir}
 DOPEBIN = ${DOPEDIR}/dopewars
 PIXMAPS = dopewars-pill.png dopewars-shot.png dopewars-weed.png
 EXTRA_DIST = ${PIXMAPS} pill.ico magic dopewars.rc
+CLEANFILES = dopewars.res dopewars.exe
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_HEADER = ../config.h
 CONFIG_CLEAN_FILES = 
t@@ -438,6 +439,7 @@ installdirs-am:
 mostlyclean-generic:
 
 clean-generic:
+        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
         -rm -f Makefile $(CONFIG_CLEAN_FILES)