-
Notifications
You must be signed in to change notification settings - Fork 59
/
Makefile
25 lines (17 loc) · 1.41 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
all: build/glib_hash_table build/stl_unordered_map build/boost_unordered_map build/google_sparse_hash_map build/google_dense_hash_map build/qt_qhash build/python_dict build/ruby_hash
build/glib_hash_table: src/glib_hash_table.c Makefile src/template.c
gcc -ggdb -O2 -lm `pkg-config --cflags --libs glib-2.0` src/glib_hash_table.c -o build/glib_hash_table
build/stl_unordered_map: src/stl_unordered_map.cc Makefile src/template.c
g++ -O2 -lm src/stl_unordered_map.cc -o build/stl_unordered_map -std=c++0x
build/boost_unordered_map: src/boost_unordered_map.cc Makefile src/template.c
g++ -O2 -lm src/boost_unordered_map.cc -o build/boost_unordered_map
build/google_sparse_hash_map: src/google_sparse_hash_map.cc Makefile src/template.c
g++ -O2 -lm src/google_sparse_hash_map.cc -o build/google_sparse_hash_map
build/google_dense_hash_map: src/google_dense_hash_map.cc Makefile src/template.c
g++ -O2 -lm src/google_dense_hash_map.cc -o build/google_dense_hash_map
build/qt_qhash: src/qt_qhash.cc Makefile src/template.c
g++ -O2 -lm `pkg-config --cflags --libs QtCore` src/qt_qhash.cc -o build/qt_qhash
build/python_dict: src/python_dict.c Makefile src/template.c
gcc -O2 -lm -I/usr/include/python2.6 -lpython2.6 src/python_dict.c -o build/python_dict
build/ruby_hash: src/ruby_hash.c Makefile src/template.c
gcc -O2 -lm -I/usr/include/ruby-1.9.0 -I /usr/include/ruby-1.9.0/x86_64-linux -lruby1.9 src/ruby_hash.c -o build/ruby_hash