-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (25 loc) · 1.17 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
all: out/seller out/ant_way_finder
out/seller: out/seller.o out/ant.o out/chooser.o
mkdir out -p
c++ --std=c++11 out/seller.o out/ant.o out/chooser.o -pthread -lboost_program_options -o out/seller -O3 -DNDEBUG -DANT_PARALLEL
out/ant_way_finder: out/ant_way_finder.o out/ant.o out/chooser.o
mkdir out -p
c++ --std=c++11 out/ant_way_finder.o out/ant.o out/chooser.o -pthread -lboost_program_options -o out/ant_way_finder -O3 -DNDEBUG -DANT_PARALLEL
out/ant_way_finder.o: ant_way_finder.cpp graph.hpp ant.hpp
mkdir out -p
c++ --std=c++11 ant_way_finder.cpp -c -pthread -o out/ant_way_finder.o -O3 -DNDEBUG -DANT_PARALLEL
out/seller.o: seller.cpp graph.hpp ant.hpp
mkdir out -p
c++ --std=c++11 seller.cpp -pthread -c -o out/seller.o -O3 -DNDEBUG -DANT_PARALLEL
out/ant.o: ant.cpp graph.hpp ant.hpp chooser.hpp
mkdir out -p
c++ --std=c++11 ant.cpp -c -o out/ant.o -O3 -DNDEBUG -DANT_PARALLEL
out/chooser.o: chooser.cpp chooser.hpp
mkdir out -p
c++ --std=c++11 chooser.cpp -c -o out/chooser.o -O3 -DNDEBUG -DANT_PARALLEL
dejkstra: out/dejkstra
out/dejkstra: graph.hpp dejkstra.cpp
mkdir out -p
c++ --std=c++11 dejkstra.cpp -o out/dejkstra -O3 -DNDEBUG
clean:
rm out -r