]> jfr.im git - irc/gameservirc.git/blame - gameserv/Makefile.in
More exciting additions to FilePlayerDAO!
[irc/gameservirc.git] / gameserv / Makefile.in
CommitLineData
c1068b6e 1SHELL = /bin/sh
2VPATH = @srcdir@
3
4subdirs = @subdirs@
5top_srcdir = @top_srcdir@
6srcdir = @srcdir@
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = $(exec_prefix)/bin
10infodir = $(prefix)/info
11libdir = $(prefix)/lib/gnudl
12mandir = $(prefix)/man/man1
13
ee05c957 14CC = @CXX@
fb37ecc7 15CPPFLAGS = -Wall @CPPFLAGS@
c1068b6e 16CFLAGS = $(CPPFLAGS) @CFLAGS@
17LDFLAGS = @LDFLAGS@
18LIBS = @LIBS@
19INSTALL = @INSTALL@
20
a46254e3 21DRIVER = tcpclient.cpp
22CONSOLEDRIVER = devel.cpp
23
24TSRCS = aClient.cpp \
64ed4698 25 boolean.cpp \
b5fb1cc5 26 config.cpp \
27 c_forest.cpp \
37a0eb1d 28 do_admin.cpp \
8f0f4c84 29 do_attack.cpp \
585b7bde 30 do_bank.cpp \
31 do_check.cpp \
857510e8 32 do_dragon.cpp \
585b7bde 33 do_equip.cpp \
34 do_fight.cpp \
0bbd37a7 35 do_heal.cpp \
36 do_help.cpp \
37 do_identify.cpp \
38 do_inventory.cpp \
39 do_list.cpp \
af02354b 40 do_load.cpp \
857510e8 41 do_logout.cpp \
42 do_master.cpp \
af02354b 43 do_raw.cpp \
0bbd37a7 44 do_refresh.cpp \
45 do_register.cpp \
857510e8 46 do_reset.cpp \
47 do_run.cpp \
af02354b 48 do_save.cpp \
857510e8 49 do_set.cpp \
af02354b 50 do_shutdown.cpp \
857510e8 51 do_stats.cpp \
52 do_store.cpp \
53 do_tavern.cpp \
54 do_use.cpp \
71a1182a 55 find.cpp \
b5fb1cc5 56 gameserv.cpp \
c260a8d7 57 hash.cpp \
26b17386 58 item.cpp \
ea93c39a 59 level.cpp \
32ae1ba9 60 loadsave.cpp \
b5fb1cc5 61 log.cpp \
d9681dad 62 messages.cpp \
63 misc.cpp \
c260a8d7 64 news.cpp \
37ed80a9 65 pouch.cpp \
b5fb1cc5 66 player.cpp \
22ea56df 67 script.cpp \
e248e6be 68 sockhelp.cpp \
32ae1ba9 69 strings.cpp \
e248e6be 70 toplist.cpp
a46254e3 71
72CONSOLESRCS = $(TSRCS) $(CONSOLEDRIVER)
73SRCS = $(TSRCS) $(DRIVER)
74ALLSRCS = $(TSRCS) $(DRIVER) $(CONSOLEDRIVER)
b5fb1cc5 75
76OBJS = ${SRCS:.cpp=.o}
a46254e3 77CONSOLEOBJS = $(CONSOLESRCS:.cpp=.o)
b5fb1cc5 78
79all: gameserv
c1068b6e 80
81clean:
82 /bin/rm -f *.o
83
84distclean: clean
c7340cbd 85 /bin/rm -f Makefile config.h config.status config.cache config.log \
b0a5c536 86 options.h gameserv .config .gstimestamp
c1068b6e 87
b5fb1cc5 88gameserv: $(OBJS)
89 $(CC) -o $@ $(OBJS) $(LIBS)
c1068b6e 90
b5fb1cc5 91.cpp.o:
92 $(CC) $(CFLAGS) -c $<
c1068b6e 93
b5fb1cc5 94depend:
a46254e3 95 $(CC) -MM $(CFLAGS) $(ALLSRCS) > .depend
c1068b6e 96
b5fb1cc5 97configscript: configscript.o
98 $(CC) -o .config configscript.o
c1068b6e 99
a46254e3 100console: $(CONSOLEOBJS)
101 $(CC) -o $@ $(CONSOLEOBJS) $(LIBS)
102
b5fb1cc5 103# Catch any changes in the Makefile, everything depends on it.
104$(OBJS): Makefile
a46254e3 105$(CONSOLEOBJS): Makefile
c1068b6e 106
b5fb1cc5 107include .depend