mandir = $(prefix)/man/man1
CC = @CXX@
-CPPFLAGS = -Wno-deprecated -Wall @CPPFLAGS@
+CPPFLAGS = -Wall @CPPFLAGS@
CFLAGS = $(CPPFLAGS) @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
/bin/rm -f Makefile config.h config.status config.cache config.log \
options.h gameserv .config .gstimestamp
-tcpclient: aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o tcpclient.o
- $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o\
+tcpclient: aClient.o config.o c_forest.o gameserv.o log.o player.o sockhelp.o tcpclient.o
+ $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o log.o player.o sockhelp.o\
tcpclient.o $(LIBS)
configscript: configscript.o
$(CC) $(CFLAGS) -c tcpserver.cpp
sockhelp.o: sockhelp.cpp aClient.h extern.h list.h listnode.h \
- player.h sockhelp.h
+ options.h player.h sockhelp.h
$(CC) $(CFLAGS) -c sockhelp.cpp
aClient.o: aClient.cpp aClient.h extern.h list.h listnode.h \
- player.h sockhelp.h
+ options.h player.h sockhelp.h
$(CC) $(CFLAGS) -c aClient.cpp
gameserv.o: gameserv.cpp aClient.h extern.h flags.h list.h\
- listnode.h player.h pouch.h sockhelp.h
+ listnode.h options.h player.h pouch.h sockhelp.h
$(CC) $(CFLAGS) -c gameserv.cpp
c_forest.o: c_forest.cpp aClient.h extern.h list.h\
- listnode.h player.h pouch.h sockhelp.h
+ listnode.h options.h player.h pouch.h sockhelp.h
$(CC) $(CFLAGS) -c c_forest.cpp
-player.o: player.cpp aClient.h extern.h list.h listnode.h player.h \
+log.o: config.cpp log.cpp extern.h
+ $(CC) $(CFLAGS) -c log.cpp
+
+player.o: player.cpp aClient.h extern.h list.h listnode.h options.h player.h \
pouch.h sockhelp.h
$(CC) $(CFLAGS) -c player.cpp