-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (22 loc) · 807 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
28
29
30
main:
make warming_up.test.out
make tree.test.out
CC=g++
LIBS = -Isrc/arithmetic_lib/include/NTL -Lsrc/arithmetic_lib/lib
FLAGS = -std=c++11 $(LIBS) -lntl -Wall -Ofast -funroll-loops -finline-functions -pthread
warming_up:
make warming_up.out
make warming_up.test.out
warming_up.out: src/warming_up/warming_up.cpp
$(CC) -o $@ $^ $(FLAGS)
warming_up.test.out: src/tests/warming_up.test.cpp src/warming_up/warming_up.cpp
$(CC) -o $@ $^ $(FLAGS)
tree:
make tree.out
make tree.test.out
tree.out: src/decision_tree/tree.cpp src/warming_up/warming_up.cpp src/decision_tree/treeClasses.cpp
$(CC) -o $@ $^ $(FLAGS)
tree.test.out: src/tests/tree.test.cpp src/decision_tree/tree.cpp src/warming_up/warming_up.cpp src/decision_tree/treeClasses.cpp
$(CC) -o $@ $^ $(FLAGS)
clean:
rm *.out *.dot *.jpg