1 # Uncomment the following line for Solaris
2 # C_LINK = -lsocket -lnsl -lcrypt
4 # Uncomment this for SCO. (Note, this has only been reported to work with
5 # Revision 3.2.4 with the "SCO TCP/IP Development System" package installed.
6 # Please let me know if you have any other SCO success stories.
7 # C_LINK = -lsocket -lcrypt
9 # All others should only need to use this line
12 # Comment the following line if you are not using the gnu c compiler
14 #C_ARGS = -Wno-non-template-friend -O9
15 C_ARGS =-Wno-deprecated -O9
17 # You might have to change this if your c compiler is not cc
20 # You shouldn't need to make any more changes below this line.
32 tcpclient: aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o tcpclient.o
33 $(CC) -o gameserv aClient.o config.o c_forest.o gameserv.o player.o sockhelp.o\
36 tcpclient.o: tcpclient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
37 $(CC) $(C_ARGS) -c tcpclient.cpp
39 tcpserver.o: tcpserver.cpp sockhelp.cpp
40 $(CC) $(C_ARGS) -c tcpserver.cpp
42 sockhelp.o: sockhelp.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
43 $(CC) $(C_ARGS) -c sockhelp.cpp
45 aClient.o: aClient.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
46 $(CC) $(C_ARGS) -c aClient.cpp
48 gameserv.o: gameserv.cpp aClient.h player.h extern.h list.h\
50 $(CC) $(C_ARGS) -c gameserv.cpp
52 c_forest.o: c_forest.cpp aClient.h player.h extern.h list.h\
54 $(CC) $(C_ARGS) -c c_forest.cpp
56 player.o: player.cpp aClient.h player.h extern.h list.h listnode.h sockhelp.h
57 $(CC) $(C_ARGS) -c player.cpp
59 config.o: config.cpp extern.h
60 $(CC) $(C_ARGS) -c config.cpp