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