]> jfr.im git - irc/gameservirc.git/blob - gameserv/Makefile.in
Added a lot of functionality. Added player flags and save/load them in the players...
[irc/gameservirc.git] / gameserv / Makefile.in
1 SHELL = /bin/sh
2 VPATH = @srcdir@
3
4 subdirs = @subdirs@
5 top_srcdir = @top_srcdir@
6 srcdir = @srcdir@
7 prefix = @prefix@
8 exec_prefix = @exec_prefix@
9 bindir = $(exec_prefix)/bin
10 infodir = $(prefix)/info
11 libdir = $(prefix)/lib/gnudl
12 mandir = $(prefix)/man/man1
13
14 CC = @CXX@
15 CPPFLAGS = -Wno-deprecated -Wall @CPPFLAGS@
16 CFLAGS = $(CPPFLAGS) @CFLAGS@
17 LDFLAGS = @LDFLAGS@
18 LIBS = @LIBS@
19 INSTALL = @INSTALL@
20
21 all: tcpclient
22
23 clean:
24 /bin/rm -f *.o
25
26 distclean: clean
27 /bin/rm -f Makefile config.h config.status config.cache config.log \
28 options.h gameserv .config .gstimestamp
29
30 tcpclient: aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o tcpclient.o
31 $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o\
32 tcpclient.o $(LIBS)
33
34 configscript: configscript.o
35 $(CC) -o .config configscript.o
36
37 configscript.o: configscript.cpp
38 $(CC) $(CFLAGS) -c configscript.cpp
39
40 tcpclient.o: tcpclient.cpp aClient.h player.h extern.h list.h listnode.h \
41 options.h sockhelp.h
42 $(CC) $(CFLAGS) -c tcpclient.cpp
43
44 tcpserver.o: tcpserver.cpp sockhelp.cpp
45 $(CC) $(CFLAGS) -c tcpserver.cpp
46
47 sockhelp.o: sockhelp.cpp aClient.h extern.h list.h listnode.h \
48 player.h sockhelp.h
49 $(CC) $(CFLAGS) -c sockhelp.cpp
50
51 aClient.o: aClient.cpp aClient.h extern.h list.h listnode.h \
52 player.h sockhelp.h
53 $(CC) $(CFLAGS) -c aClient.cpp
54
55 gameserv.o: gameserv.cpp aClient.h extern.h flags.h list.h\
56 listnode.h player.h sockhelp.h
57 $(CC) $(CFLAGS) -c gameserv.cpp
58
59 c_forest.o: c_forest.cpp aClient.h extern.h list.h\
60 listnode.h player.h sockhelp.h
61 $(CC) $(CFLAGS) -c c_forest.cpp
62
63 player.o: player.cpp aClient.h extern.h list.h listnode.h player.h sockhelp.h
64 $(CC) $(CFLAGS) -c player.cpp
65
66 config.o: config.cpp extern.h
67 $(CC) $(CFLAGS) -c config.cpp
68
69 # autoheader might not change config.h.in, so touch a stamp file
70 ${srcdir}/config.h.in: stamp-h.in
71
72 ${srcdir}/stamp-h.in:
73 cd ${srcdir} && autoheader
74 echo timestamp > ${srcdir}/stamp-h.in
75
76 config.h: stamp-h
77
78 stamp-h: config.h.in config.status
79 ./config.status
80
81 Makefile: Makefile.in config.status
82 ./config.status
83
84 config.status: configure
85 ./config.status --recheck