-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMakefile
61 lines (43 loc) · 2.11 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
CC=g++
FLAGS=-g -std=c++11 -O2 -fprofile-arcs -ftest-coverage -Wreturn-type -D BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
all: tests/test_tic_tac_toe.o tests/test_isola.o tests/test_connect_four.o tests.test_go.o tests/play_isola.o
test: tests/test_tic_tac_toe.o tests/test_isola.o tests/test_connect_four.o
tests/test_tic_tac_toe.o
tests/test_isola.o
tests/test_connect_four.o
tests/test_go.o
valgrind: tests/test_tic_tac_toe.o tests/test_go.o tests/test_isola.o tests/test_connect_four.o
valgrind --error-exitcode=1 --leak-check=full tests/test_tic_tac_toe.o
valgrind --error-exitcode=1 --leak-check=full tests/test_isola.o
valgrind --error-exitcode=1 --leak-check=full tests/test_connect_four.o
valgrind --error-exitcode=1 --leak-check=full tests/test_go.o
test_tic_tac_toe: tests/test_tic_tac_toe.o
tests/test_tic_tac_toe.o
test_isola: tests/test_isola.o
tests/test_isola.o
test_connect_four: tests/test_connect_four.o
tests/test_connect_four.o
test_go: tests/test_go.o
tests/test_go.o
test_executable: tests/test_executable.o tests/marten.o
tests/test_executable.o
marten: tests/marten.o
tests/marten.o
play_isola: tests/play_isola.o
tests/play_isola.o
tests/test_tic_tac_toe.o: gtsa.hpp examples/tic_tac_toe.cpp tests/test_tic_tac_toe.cpp
$(CC) $(FLAGS) tests/test_tic_tac_toe.cpp -o tests/test_tic_tac_toe.o
tests/test_isola.o: gtsa.hpp examples/isola.cpp tests/test_isola.cpp
$(CC) $(FLAGS) tests/test_isola.cpp -o tests/test_isola.o
tests/test_connect_four.o: gtsa.hpp examples/connect_four.cpp tests/test_connect_four.cpp
$(CC) $(FLAGS) tests/test_connect_four.cpp -o tests/test_connect_four.o
tests/test_go.o: gtsa.hpp examples/go.cpp tests/test_go.cpp
$(CC) $(FLAGS) tests/test_go.cpp -o tests/test_go.o
tests/test_executable.o: gtsa.hpp examples/isola.cpp tests/test_executable.cpp
$(CC) $(FLAGS) tests/test_executable.cpp -o tests/test_executable.o
tests/marten.o: tests/marten.cpp
$(CC) $(FLAGS) tests/marten.cpp -o tests/marten.o
tests/play_isola.o: gtsa.hpp examples/isola.cpp tests/play_isola.cpp
$(CC) $(FLAGS) tests/play_isola.cpp -o tests/play_isola.o
clean:
rm -f tests/*.o *.gcov *.gcda *.gcno