X-Git-Url: https://jfr.im/git/irc/gameservirc.git/blobdiff_plain/8f0f4c84e865e325c8c074bb69bf75b6c5c76bd0..e809dd2aef043b21e52ec5b308076670b62ef30c:/gameserv/Makefile.in diff --git a/gameserv/Makefile.in b/gameserv/Makefile.in index adf5083..9327e19 100644 --- a/gameserv/Makefile.in +++ b/gameserv/Makefile.in @@ -18,20 +18,29 @@ 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 \ gameserv.cpp \ hash.cpp \ + item.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 @@ -49,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