Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/robots



Date:	Saturday March 13, 1999 @ 13:47
Author:	tanner

Update of /home/netrek/cvsroot/Vanilla/robots
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv8719/robots

Modified Files:
	Makefile 
Log Message:
Changed the Makefiles so that the makedepend dependancies are not appended 
to the Makefiles. This is to prevent system dependancies from being 
committed to the repostitory.

Please let me know if this works on all platforms. I believe the method
I used is GNU make specific. If that is the case I'd like to make
GNU make a required tool. 



****************************************

Index: Vanilla/robots/Makefile
diff -u Vanilla/robots/Makefile:1.10 Vanilla/robots/Makefile:1.11
--- Vanilla/robots/Makefile:1.10	Sat Mar 13 03:40:40 1999
+++ Vanilla/robots/Makefile	Sat Mar 13 13:47:27 1999
@@ -50,12 +50,18 @@
 I_OBJS = inl.o inlcomm.o inlcmds.o gencmds.o $(C_OBJS)
 
 
-SRCS = puck.c puckmove.c mars.c marsmove.c robotII.c rmove.c getpath.c \
-	../ntserv/data.c  detonate.c  ../ntserv/enter.c  getship.c  \
+SRCS = puck.c puckmove.c mars.c marsmove.c robotII.c rmove.c \
+	../ntserv/getpath.c \
+	../ntserv/data.c  detonate.c  ../ntserv/enter.c  \
+	../ntserv/getship.c  \
 	../ntserv/interface.c \
-	orbit.c  phaser.c  sintab.c openmem.c ../ntserv/sysdefaults.c torp.c \
-	util.c $(RANDOMC) ../ntserv/commands.c smessage.c basep.c wander2.c \
-	inl.c inlcomm.c slotmaint.c inlcmds.c ../ntserv/gencmds.c
+	../ntserv/orbit.c  ../ntserv/phaser.c ../ntserv/sintab.c \
+	../ntserv/openmem.c \
+	../ntserv/sysdefaults.c ../ntserv/torp.c \
+	../ntserv/util.c $(RANDOMC) ../ntserv/commands.c \
+	../ntserv/smessage.c \
+	basep.c ../ntserv/wander2.c \
+	inl.c inlcomm.c ../ntserv/slotmaint.c inlcmds.c ../ntserv/gencmds.c
 
 EXECS =	puck mars robotII basep inl
 
@@ -100,9 +106,11 @@
 commands_basep.o: $(PMAKE) ../ntserv/commands.c
 	$(CC) $(CFLAGS) $(DEP) -DBASEP -c ../ntserv/commands.c -o commands_basep.o
 
-clean:; rm -f *.o *.ln
+clean:: 
+	@rm -f *.o *.ln
 
-reallyclean:; rm -f $(EXECS) *~ #*#
+reallyclean:: clean
+	@rm -f $(EXECS) *~ #*# .depend
 
 
 install: $(EXECS) 
@@ -123,7 +131,13 @@
 rmdependencies:
 	makedepend
 
-depend:
-	makedepend $(CFLAGS) -f Makefile $(SRCS)
+depend::
+	$(CPP) -M $(CFLAGS) $(SRCS) > .depend
+
+tags::
+	@etags $(SRCS)
+
 #####
 # DO NOT DELETE THIS LINE -- make depend depends on it.
+
+-include .depend