X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/c1068b6e288e71301977eea8b1f1eeea5633b092..3662210ff8fbf469ecfc45ce9e1734ddb781e6fd:/gameserv/Makefile.in diff --git a/gameserv/Makefile.in b/gameserv/Makefile.in index 39721a2..41f60a4 100644 --- a/gameserv/Makefile.in +++ b/gameserv/Makefile.in @@ -11,58 +11,66 @@ infodir = $(prefix)/info libdir = $(prefix)/lib/gnudl mandir = $(prefix)/man/man1 -CC = g++ -CPPFLAGS = @CPPFLAGS@ +CC = @CXX@ +CPPFLAGS = -Wno-deprecated -Wall @CPPFLAGS@ CFLAGS = $(CPPFLAGS) @CFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ INSTALL = @INSTALL@ -all: config.h tcpclient +all: tcpclient clean: /bin/rm -f *.o distclean: clean - /bin/rm -f Makefile config.h config.status config.cache config.log gameserv + /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.o $(LIBS) -tcpclient.o: tcpclient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h +configscript: configscript.o + $(CC) -o .config configscript.o + +configscript.o: configscript.cpp + $(CC) $(CFLAGS) -c configscript.cpp + +tcpclient.o: tcpclient.cpp aClient.h player.h pouch.h extern.h list.h \ + listnode.h options.h sockhelp.h $(CC) $(CFLAGS) -c tcpclient.cpp tcpserver.o: tcpserver.cpp sockhelp.cpp $(CC) $(CFLAGS) -c tcpserver.cpp -sockhelp.o: sockhelp.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h +sockhelp.o: sockhelp.cpp aClient.h extern.h list.h listnode.h \ + player.h pouch.h sockhelp.h $(CC) $(CFLAGS) -c sockhelp.cpp -aClient.o: aClient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h +aClient.o: aClient.cpp aClient.h extern.h list.h listnode.h \ + player.h pouch.h sockhelp.h $(CC) $(CFLAGS) -c aClient.cpp -gameserv.o: gameserv.cpp aClient.h player.h extern.h list.h\ - listnode.h sockhelp.h +gameserv.o: gameserv.cpp aClient.h extern.h flags.h list.h\ + listnode.h player.h pouch.h sockhelp.h $(CC) $(CFLAGS) -c gameserv.cpp -c_forest.o: c_forest.cpp aClient.h player.h extern.h list.h\ - listnode.h sockhelp.h +c_forest.o: c_forest.cpp aClient.h extern.h list.h\ + listnode.h player.h pouch.h sockhelp.h $(CC) $(CFLAGS) -c c_forest.cpp -player.o: player.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h +player.o: player.cpp aClient.h extern.h list.h listnode.h player.h \ + pouch.h sockhelp.h $(CC) $(CFLAGS) -c player.cpp config.o: config.cpp extern.h $(CC) $(CFLAGS) -c config.cpp -${srcdir}/configure: configure.in - cd ${srcdir} && autoconf - # autoheader might not change config.h.in, so touch a stamp file ${srcdir}/config.h.in: stamp-h.in -${srcdir}/stamp-h.in: configure.in +${srcdir}/stamp-h.in: cd ${srcdir} && autoheader echo timestamp > ${srcdir}/stamp-h.in @@ -76,4 +84,3 @@ Makefile: Makefile.in config.status config.status: configure ./config.status --recheck -