]> jfr.im git - irc/gameservirc.git/blame - gameserv/Makefile.in
Various bugfixes
[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@
28f552b8 15CPPFLAGS = -Wno-deprecated -Wall -O2 @CPPFLAGS@
c1068b6e 16CFLAGS = $(CPPFLAGS) @CFLAGS@
17LDFLAGS = @LDFLAGS@
18LIBS = @LIBS@
19INSTALL = @INSTALL@
20
ee05c957 21all: tcpclient
c1068b6e 22
23clean:
24 /bin/rm -f *.o
25
26distclean: clean
27 /bin/rm -f Makefile config.h config.status config.cache config.log gameserv
28
29tcpclient: aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o tcpclient.o
30 $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o\
31 tcpclient.o $(LIBS)
32
33tcpclient.o: tcpclient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
34 $(CC) $(CFLAGS) -c tcpclient.cpp
35
36tcpserver.o: tcpserver.cpp sockhelp.cpp
37 $(CC) $(CFLAGS) -c tcpserver.cpp
38
39sockhelp.o: sockhelp.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
40 $(CC) $(CFLAGS) -c sockhelp.cpp
41
42aClient.o: aClient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
43 $(CC) $(CFLAGS) -c aClient.cpp
44
45gameserv.o: gameserv.cpp aClient.h player.h extern.h list.h\
46 listnode.h sockhelp.h
47 $(CC) $(CFLAGS) -c gameserv.cpp
48
49c_forest.o: c_forest.cpp aClient.h player.h extern.h list.h\
50 listnode.h sockhelp.h
51 $(CC) $(CFLAGS) -c c_forest.cpp
52
53player.o: player.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
54 $(CC) $(CFLAGS) -c player.cpp
55
56config.o: config.cpp extern.h
57 $(CC) $(CFLAGS) -c config.cpp
58
59${srcdir}/configure: configure.in
60 cd ${srcdir} && autoconf
61
62# autoheader might not change config.h.in, so touch a stamp file
63${srcdir}/config.h.in: stamp-h.in
64
65${srcdir}/stamp-h.in: configure.in
66 cd ${srcdir} && autoheader
67 echo timestamp > ${srcdir}/stamp-h.in
68
69config.h: stamp-h
70
71stamp-h: config.h.in config.status
72 ./config.status
73
74Makefile: Makefile.in config.status
75 ./config.status
76
77config.status: configure
78 ./config.status --recheck
79