[rott-commits] r256 - trunk/rott

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jan 10 03:47:37 EST 2011


Author: fabian
Date: 2011-01-10 03:47:32 -0500 (Mon, 10 Jan 2011)
New Revision: 256

Modified:
   trunk/rott/Makefile
Log:
Make sure object files get rebuilt whenever develop.h is changed.

Modified: trunk/rott/Makefile
===================================================================
--- trunk/rott/Makefile	2011-01-04 07:44:17 UTC (rev 255)
+++ trunk/rott/Makefile	2011-01-10 08:47:32 UTC (rev 256)
@@ -21,7 +21,7 @@
 audiolib/audiolib.a:
 	$(MAKE) -C audiolib CC="$(CC)" CFLAGS="$(ALL_CFLAGS)" LDLIBS="$(LDLIBS)"
 
-rott: 	\
+OBJS = \
 	cin_actr.o \
 	cin_efct.o \
 	cin_evnt.o \
@@ -71,8 +71,10 @@
 	z_zone.o \
 	byteordr.o \
 	dukemusc.o \
-	audiolib/audiolib.a \
 	winrott.o
+
+$(OBJS): develop.h
+rott: $(OBJS) audiolib/audiolib.a
 	$(CC) $^ $(LDLIBS) -o $@
 
 clean:



More information about the rott-commits mailing list