-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
36 lines (25 loc) · 855 Bytes
/
Copy pathmakefile
File metadata and controls
36 lines (25 loc) · 855 Bytes
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
28
29
30
31
32
33
34
35
36
PARAMS = -g -Wall -pedantic -std=c++11 -pthread -O3
all : chess
chess : argparser.o pieces.o bitboard.o chess.o lookuptables.o chessAI.o abstractthread.o
g++ ${PARAMS} argparser.o pieces.o bitboard.o lookuptables.o chessAI.o abstractthread.o chess.o -o chess
argparser.o : argparser.cpp argparser.h
g++ ${PARAMS} argparser.cpp -c
lookuptables.o : lookuptables.cpp lookuptables.h
g++ ${PARAMS} lookuptables.cpp -c
chessAI.o : chessAI.cpp chessAI.h pieces.h abstractthread.h
g++ ${PARAMS} chessAI.cpp -c
chess.o : chess.cpp chess.h
g++ ${PARAMS} chess.cpp -c
bitboard.o : bitboard.cpp bitboard.h
g++ ${PARAMS} bitboard.cpp -c
abstractthread.o : abstractthread.cpp abstractthread.h
g++ ${PARAMS} abstractthread.cpp -c
pieces.o : pieces.cpp
g++ ${PARAMS} pieces.cpp -c
clean :
rm -f *.o chess
make
run :
rm -f *.o chess
make
./chess