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

CVS update: Vanilla/robots



Date:	Tuesday May 23, 2000 @ 20:18
Author:	jeffno

Update of /home/netrek/cvsroot/Vanilla/robots
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv6331

Modified Files:
	Makefile 
Log Message:
Added newbie server mode.

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

Index: Vanilla/robots/Makefile
diff -u Vanilla/robots/Makefile:1.16 Vanilla/robots/Makefile:1.17
--- Vanilla/robots/Makefile:1.16	Mon Jul 12 10:03:45 1999
+++ Vanilla/robots/Makefile	Tue May 23 20:18:47 2000
@@ -46,6 +46,10 @@
 
 B_OBJS = basep.o commands_basep.o $(C_OBJS)  
 
+#       newbie server object files
+
+N_OBJS = newbie.o commands_newbie.o $(C_OBJS)
+
 #	INL Objects
 
 I_OBJS = inl.o inlcomm.o inlcmds.o gencmds.o $(C_OBJS)
@@ -62,9 +66,10 @@
 	../ntserv/util.c $(RANDOMC) ../ntserv/commands.c \
 	../ntserv/smessage.c \
 	basep.c ../ntserv/wander2.c \
+	newbie.c \
 	inl.c inlcomm.c ../ntserv/slotmaint.c inlcmds.c ../ntserv/gencmds.c
 
-EXECS =	puck mars robotII basep inl
+EXECS =	puck mars robotII basep newbie inl
 
 all: $(PMAKE) $(EXECS)
 
@@ -80,6 +85,9 @@
 basep: $(PMAKE) $(B_OBJS)
 	$(CC) $(CFLAGS)  -o basep $(B_OBJS) $(EXTRALIBS) -lm
 
+newbie: $(PMAKE) $(N_OBJS)
+	$(CC) $(CFLAGS)  -o newbie $(N_OBJS) $(EXTRALIBS) -lm
+
 inl: $(PMAKE) $(I_OBJS)
 	$(CC) $(CFLAGS)  -o inl $(I_OBJS) $(EXTRALIBS) -lm
 
@@ -107,6 +115,9 @@
 commands_basep.o: $(PMAKE) ../ntserv/commands.c
 	$(CC) $(CFLAGS) $(DEP) -DBASEP -c ../ntserv/commands.c -o commands_basep.o
 
+commands_newbie.o: $(PMAKE) ../ntserv/commands.c
+	$(CC) $(CFLAGS) $(DEP) -DNEWBIE -c ../ntserv/commands.c -o commands_newbie.o
+
 clean:: 
 	@rm -f *.o *.ln
 
@@ -119,6 +130,7 @@
 	$(INSTALL) $(INSTALLOPTS) mars $(LIBDIR)/mars
 	$(INSTALL) $(INSTALLOPTS) robotII $(LIBDIR)/robotII
 	$(INSTALL) $(INSTALLOPTS) basep $(LIBDIR)/basep
+	$(INSTALL) $(INSTALLOPTS) newbie $(LIBDIR)/newbie
 	$(INSTALL) $(INSTALLOPTS) inl $(LIBDIR)/inl
 	$(INSTALL) $(INSTALLOPTS) end_tourney.pl $(LIBDIR)/end_tourney.pl