]> jfr.im git - irc/gameservirc.git/blame_incremental - gameserv/Makefile.in
added items to the tavern.dat, added the filename option to the config file
[irc/gameservirc.git] / gameserv / Makefile.in
... / ...
CommitLineData
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
14CC = @CXX@
15CPPFLAGS = -Wall @CPPFLAGS@
16CFLAGS = $(CPPFLAGS) @CFLAGS@
17LDFLAGS = @LDFLAGS@
18LIBS = @LIBS@
19INSTALL = @INSTALL@
20
21DRIVER = tcpclient.cpp
22CONSOLEDRIVER = devel.cpp
23
24TSRCS = aClient.cpp \
25 config.cpp \
26 c_forest.cpp \
27 do_attack.cpp \
28 gameserv.cpp \
29 hash.cpp \
30 item.cpp \
31 level.cpp \
32 log.cpp \
33 news.cpp \
34 pouch.cpp \
35 player.cpp \
36 sockhelp.cpp
37
38CONSOLESRCS = $(TSRCS) $(CONSOLEDRIVER)
39SRCS = $(TSRCS) $(DRIVER)
40ALLSRCS = $(TSRCS) $(DRIVER) $(CONSOLEDRIVER)
41
42OBJS = ${SRCS:.cpp=.o}
43CONSOLEOBJS = $(CONSOLESRCS:.cpp=.o)
44
45all: gameserv
46
47clean:
48 /bin/rm -f *.o
49
50distclean: clean
51 /bin/rm -f Makefile config.h config.status config.cache config.log \
52 options.h gameserv .config .gstimestamp
53
54gameserv: $(OBJS)
55 $(CC) -o $@ $(OBJS) $(LIBS)
56
57.cpp.o:
58 $(CC) $(CFLAGS) -c $<
59
60depend:
61 $(CC) -MM $(CFLAGS) $(ALLSRCS) > .depend
62
63configscript: configscript.o
64 $(CC) -o .config configscript.o
65
66console: $(CONSOLEOBJS)
67 $(CC) -o $@ $(CONSOLEOBJS) $(LIBS)
68
69# Catch any changes in the Makefile, everything depends on it.
70$(OBJS): Makefile
71$(CONSOLEOBJS): Makefile
72
73include .depend