X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/26b1738621ecdeb4fdf857d76a6f9b882a296da6..c7bceafda9c7c1045b398d8454a0a2ed0fbd9170:/gameserv/Makefile.in?ds=sidebyside diff --git a/gameserv/Makefile.in b/gameserv/Makefile.in index f308688..9327e19 100644 --- a/gameserv/Makefile.in +++ b/gameserv/Makefile.in @@ -18,7 +18,10 @@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ INSTALL = @INSTALL@ -SRCS = aClient.cpp \ +DRIVER = tcpclient.cpp +CONSOLEDRIVER = devel.cpp + +TSRCS = aClient.cpp \ config.cpp \ c_forest.cpp \ do_attack.cpp \ @@ -28,11 +31,16 @@ SRCS = aClient.cpp \ level.cpp \ log.cpp \ news.cpp \ + pouch.cpp \ player.cpp \ - sockhelp.cpp \ - tcpclient.cpp + sockhelp.cpp + +CONSOLESRCS = $(TSRCS) $(CONSOLEDRIVER) +SRCS = $(TSRCS) $(DRIVER) +ALLSRCS = $(TSRCS) $(DRIVER) $(CONSOLEDRIVER) OBJS = ${SRCS:.cpp=.o} +CONSOLEOBJS = $(CONSOLESRCS:.cpp=.o) all: gameserv @@ -50,12 +58,16 @@ gameserv: $(OBJS) $(CC) $(CFLAGS) -c $< depend: - $(CC) -MM $(CFLAGS) $(SRCS) > .depend + $(CC) -MM $(CFLAGS) $(ALLSRCS) > .depend configscript: configscript.o $(CC) -o .config configscript.o +console: $(CONSOLEOBJS) + $(CC) -o $@ $(CONSOLEOBJS) $(LIBS) + # Catch any changes in the Makefile, everything depends on it. $(OBJS): Makefile +$(CONSOLEOBJS): Makefile include .depend