Skip to content

Instantly share code, notes, and snippets.

@adl1995
Created August 1, 2018 11:40
Show Gist options
  • Save adl1995/feae7fb29d54ee0f2a2abf28290f1199 to your computer and use it in GitHub Desktop.
Save adl1995/feae7fb29d54ee0f2a2abf28290f1199 to your computer and use it in GitHub Desktop.
This Makefile is associated with running the benchmark tests for Boost Geometry.
all: karney1 karney2 karney3 karney4 karney5 karney6 karney7 karney8 vincenty thomas1 thomas2
run:
@ ./build/karney_direct_1
@ ./build/karney_direct_2
@ ./build/karney_direct_3
@ ./build/karney_direct_4
@ ./build/karney_direct_5
@ ./build/karney_direct_6
@ ./build/karney_direct_7
@ ./build/karney_direct_8
@ ./build/vincenty_direct
@ ./build/thomas_direct_1
@ ./build/thomas_direct_2
karney1: karney_direct_1.cpp
g++-7 karney_direct_1.cpp -o build/karney_direct_1 -O3 -std=c++11 -lboost_system -lboost_chrono
karney2: karney_direct_2.cpp
g++-7 karney_direct_2.cpp -o build/karney_direct_2 -O3 -std=c++11 -lboost_system -lboost_chrono
karney3: karney_direct_3.cpp
g++-7 karney_direct_3.cpp -o build/karney_direct_3 -O3 -std=c++11 -lboost_system -lboost_chrono
karney4: karney_direct_4.cpp
g++-7 karney_direct_4.cpp -o build/karney_direct_4 -O3 -std=c++11 -lboost_system -lboost_chrono
karney5: karney_direct_5.cpp
g++-7 karney_direct_5.cpp -o build/karney_direct_5 -O3 -std=c++11 -lboost_system -lboost_chrono
karney6: karney_direct_6.cpp
g++-7 karney_direct_6.cpp -o build/karney_direct_6 -O3 -std=c++11 -lboost_system -lboost_chrono
karney7: karney_direct_7.cpp
g++-7 karney_direct_7.cpp -o build/karney_direct_7 -O3 -std=c++11 -lboost_system -lboost_chrono
karney8: karney_direct_8.cpp
g++-7 karney_direct_8.cpp -o build/karney_direct_8 -O3 -std=c++11 -lboost_system -lboost_chrono
vincenty: vincenty_direct.cpp
g++-7 vincenty_direct.cpp -o build/vincenty_direct -O3 -std=c++11 -lboost_system -lboost_chrono
thomas1: thomas_direct_1.cpp
g++-7 thomas_direct_1.cpp -o build/thomas_direct_1 -O3 -std=c++11 -lboost_system -lboost_chrono
thomas2: thomas_direct_2.cpp
g++-7 thomas_direct_2.cpp -o build/thomas_direct_2 -O3 -std=c++11 -lboost_system -lboost_chrono
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment