-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
27 lines (19 loc) · 832 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
all: client server guiServer
guiServer: board comm gameServer guiServer.h global.h
gcc -o guiServer guiServer.c board.o comm.o gameServer.o -O3 `pkg-config --libs --cflags gtk+-2.0`
client: client.c board comm list transpositionTable global.h
gcc -g3 -o client client.c board.o comm.o list.o transpositionTable.o -O3
server: server.c board comm gameServer global.h
gcc -o server server.c board.o comm.o gameServer.o -O3
comm: comm.c comm.h global.h board move.h
gcc -c comm.c -O3
board: board.c board.h move.h global.h
gcc -c board.c -O3
gameServer: gameServer.c gameServer.h board.h move.h global.h
gcc -c gameServer.c -O3
list: list.c list.h move.h
gcc -c -g3 list.c -O3
transpositionTable: transpositionTable.c transpositionTable.h move.h board.h
gcc -c transpositionTable.c -O3
clean:
rm -f *.o client server