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