forked from iwiwi/historical-pruned-landmark-labeling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (18 loc) · 903 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
CXX = g++
CXXFLAGS = -g -Wall -Wextra -Ilib -pthread -std=c++0x -fopenmp -O3
all: bin bin/construct_index bin/query_snapshot bin/query_change_point
bin:
mkdir -p bin
bin/construct_index: sample/construct_index_main.cc src/historical_pruned_landmark_labeling.cc
$(CXX) $(CXXFLAGS) -Isrc -o $@ $^ -lboost_serialization
bin/query_snapshot: sample/query_snapshot_main.cc src/historical_pruned_landmark_labeling.cc
$(CXX) $(CXXFLAGS) -Isrc -o $@ $^ -lboost_serialization
bin/query_change_point: sample/query_change_point_main.cc src/historical_pruned_landmark_labeling.cc
$(CXX) $(CXXFLAGS) -Isrc -o $@ $^ -lboost_serialization
bin/test: src/historical_pruned_landmark_labeling.cc src/historical_pruned_landmark_labeling_test.cc lib/gtest/gtest-all.cc lib/gtest/gtest_main.cc
$(CXX) $(CXXFLAGS) -o $@ $^ -lboost_serialization
.PHONY: test clean
test: bin bin/test
bin/test
clean:
rm -rf bin