]> jfr.im git - irc/gameservirc.git/blame - gameserv/Makefile.in
Added a couple new directives 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
b5fb1cc5 21SRCS = aClient.cpp \
22 config.cpp \
23 c_forest.cpp \
24 gameserv.cpp \
25 log.cpp \
26 player.cpp \
27 sockhelp.cpp \
28 tcpclient.cpp
29
30OBJS = ${SRCS:.cpp=.o}
31
32all: gameserv
c1068b6e 33
34clean:
35 /bin/rm -f *.o
36
37distclean: clean
c7340cbd 38 /bin/rm -f Makefile config.h config.status config.cache config.log \
b0a5c536 39 options.h gameserv .config .gstimestamp
c1068b6e 40
b5fb1cc5 41gameserv: $(OBJS)
42 $(CC) -o $@ $(OBJS) $(LIBS)
c1068b6e 43
b5fb1cc5 44.cpp.o:
45 $(CC) $(CFLAGS) -c $<
c1068b6e 46
b5fb1cc5 47depend:
48 $(CC) -MM $(CFLAGS) $(SRCS) > .depend
c1068b6e 49
b5fb1cc5 50configscript: configscript.o
51 $(CC) -o .config configscript.o
c1068b6e 52
b5fb1cc5 53# Catch any changes in the Makefile, everything depends on it.
54$(OBJS): Makefile
c1068b6e 55
b5fb1cc5 56include .depend