]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/Makefile.in
Added code for the start of the DataLayer format as well as a basic FilePlayerDAO...
[irc/gameservirc.git] / gameserv / Makefile.in
index ef1102a55214264e37a9af059b6910b4699bd0bd..95201789528909d7ce26d1bda38fa124f1e4324b 100644 (file)
@@ -18,19 +18,63 @@ LDFLAGS = @LDFLAGS@
 LIBS = @LIBS@
 INSTALL = @INSTALL@
 
-SRCS = aClient.cpp \
+DRIVER = tcpclient.cpp
+CONSOLEDRIVER = devel.cpp
+
+TSRCS =        aClient.cpp \
+       boolean.cpp \
        config.cpp \
        c_forest.cpp \
+       do_admin.cpp \
+       do_attack.cpp \
+       do_bank.cpp \
+       do_check.cpp \
+       do_dragon.cpp \
+       do_equip.cpp \
+       do_fight.cpp \
+       do_heal.cpp \
+       do_help.cpp \
+       do_identify.cpp \
+       do_inventory.cpp \
+       do_list.cpp \
+       do_load.cpp \
+       do_logout.cpp \
+       do_master.cpp \
+       do_raw.cpp \
+       do_refresh.cpp \
+       do_register.cpp \
+       do_reset.cpp \
+       do_run.cpp \
+       do_save.cpp \
+       do_set.cpp \
+       do_shutdown.cpp \
+       do_stats.cpp \
+       do_store.cpp \
+       do_tavern.cpp \
+       do_use.cpp \
+       find.cpp \
        gameserv.cpp \
        hash.cpp \
+       item.cpp \
        level.cpp \
+       loadsave.cpp \
        log.cpp \
+       messages.cpp \
+       misc.cpp \
        news.cpp \
+       pouch.cpp \
        player.cpp \
+       script.cpp \
        sockhelp.cpp \
-       tcpclient.cpp
+       strings.cpp \
+       toplist.cpp
+
+CONSOLESRCS = $(TSRCS) $(CONSOLEDRIVER)
+SRCS = $(TSRCS) $(DRIVER)
+ALLSRCS = $(TSRCS) $(DRIVER) $(CONSOLEDRIVER)
 
 OBJS = ${SRCS:.cpp=.o}
+CONSOLEOBJS = $(CONSOLESRCS:.cpp=.o)
 
 all:   gameserv
 
@@ -48,12 +92,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