-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathMakefile
25 lines (16 loc) · 1.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
default: all
bench_spike: bench_spike.cpp
g++ bench_spike.cpp -o bench_spike -Iinclude -std=c++11 -lmysqlclient -pthread -O2 -ggdb
unique_queries: unique_queries.cpp
g++ unique_queries.cpp -o unique_queries -Iinclude -std=c++11 -lmysqlclient -pthread -O2 -ggdb
scale_poll: scale_poll.cpp
g++ scale_poll.cpp -o scale_poll -Iinclude -std=c++11 -lmysqlclient -pthread -O0 -ggdb
connect_speed: connect_speed.cpp
g++ connect_speed.cpp -o connect_speed -Iinclude -std=c++11 -lmysqlclient -pthread -O2 -ggdb
aurora_bench: aurora_bench.cpp
g++ aurora_bench.cpp -o aurora_bench -Iinclude -std=c++11 -lmysqlclient -pthread -O0 -ggdb `/usr/bin/mysql_config --include`
sqlite_server_test: sqlite_server_test.cpp
g++ sqlite_server_test.cpp -o sqlite_server_test -Iinclude -std=c++11 -lmysqlclient -pthread -O0 -ggdb `/usr/bin/mysql_config --include`
connect_speed8: connect_speed.cpp
g++ connect_speed.cpp /home/rcannao/opt/mysql/8.0.4/lib/libmysqlclient.a -o connect_speed8 -Iinclude -I/home/rcannao/opt/mysql/8.0.4/mi -std=c++11 -pthread -O2 -ggdb -ldl -lssl -lcrypto
all: connect_speed bench_spike aurora_bench sqlite_server_test