forked from mackstann/hash-table-shootout
-
Notifications
You must be signed in to change notification settings - Fork 2
/
MakefileThroughput
19 lines (13 loc) · 1.48 KB
/
MakefileThroughput
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
all: build_throughput/glib_hash_table build_throughput/stl_unordered_map build_throughput/boost_unordered_map build_throughput/google_sparse_hash_map build_throughput/google_dense_hash_map build_throughput/qt_qhash
build_throughput/glib_hash_table: src_throughput/glib_hash_table.c MakefileThroughput src_throughput/template.c
gcc -ggdb -O2 -lm `pkg-config --cflags --libs glib-2.0` src_throughput/glib_hash_table.c -o build_throughput/glib_hash_table
build_throughput/stl_unordered_map: src_throughput/stl_unordered_map.cc MakefileThroughput src_throughput/template.c
g++ -O2 -lm src_throughput/stl_unordered_map.cc -o build_throughput/stl_unordered_map -std=c++0x
build_throughput/boost_unordered_map: src_throughput/boost_unordered_map.cc MakefileThroughput src/template.c
g++ -O2 -lm src_throughput/boost_unordered_map.cc -o build_throughput/boost_unordered_map
build_throughput/google_sparse_hash_map: src_throughput/google_sparse_hash_map.cc MakefileThroughput src/template.c
g++ -O2 -lm src_throughput/google_sparse_hash_map.cc -o build_throughput/google_sparse_hash_map
build_throughput/google_dense_hash_map: src_throughput/google_dense_hash_map.cc MakefileThroughput src_throughput/template.c
g++ -O2 -lm src_throughput/google_dense_hash_map.cc -o build_throughput/google_dense_hash_map
build_throughput/qt_qhash: src_throughput/qt_qhash.cc MakefileThroughput src_throughput/template.c
g++ -O2 -lm `pkg-config --cflags --libs QtCore` src_throughput/qt_qhash.cc -o build_throughput/qt_qhash