]> jfr.im git - irc/gameservirc.git/blame - gameserv/Makefile.in
Shrunk the dependencies immensely with forward declarations in all H files instead...
[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
b5fb1cc5 21SRCS = aClient.cpp \
22 config.cpp \
23 c_forest.cpp \
8f0f4c84 24 do_attack.cpp \
b5fb1cc5 25 gameserv.cpp \
c260a8d7 26 hash.cpp \
26b17386 27 item.cpp \
ea93c39a 28 level.cpp \
b5fb1cc5 29 log.cpp \
c260a8d7 30 news.cpp \
37ed80a9 31 pouch.cpp \
b5fb1cc5 32 player.cpp \
33 sockhelp.cpp \
34 tcpclient.cpp
35
36OBJS = ${SRCS:.cpp=.o}
37
38all: gameserv
c1068b6e 39
40clean:
41 /bin/rm -f *.o
42
43distclean: clean
c7340cbd 44 /bin/rm -f Makefile config.h config.status config.cache config.log \
b0a5c536 45 options.h gameserv .config .gstimestamp
c1068b6e 46
b5fb1cc5 47gameserv: $(OBJS)
48 $(CC) -o $@ $(OBJS) $(LIBS)
c1068b6e 49
b5fb1cc5 50.cpp.o:
51 $(CC) $(CFLAGS) -c $<
c1068b6e 52
b5fb1cc5 53depend:
54 $(CC) -MM $(CFLAGS) $(SRCS) > .depend
c1068b6e 55
b5fb1cc5 56configscript: configscript.o
57 $(CC) -o .config configscript.o
c1068b6e 58
b5fb1cc5 59# Catch any changes in the Makefile, everything depends on it.
60$(OBJS): Makefile
c1068b6e 61
b5fb1cc5 62include .depend