Commit ae17005b authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

rename of route to get_route

parent 61baa0cd
......@@ -4,12 +4,12 @@ CXXFLAGS=-O2 -std=c++11
#LDFLAGS=-g -Wall
LDFLAGS=-O2 -fwhole-program -flto
LDLIBS_LMDB=-llmdb -lpthread
LDLIBS_OSMPBF=-L../../osmpbf/osmpbf -losmpbf -lprotobuf -lz
LDLIBS_OSMPBF=-L../../osmpbf/osmpbf -losmpbf -lprotobuf -lz -lpthread
INCLUDE_OSMPBF=-I../../osmpbf -I../../osmpbf/osmpbf/include
.PHONY: clean
all: elevation_create_database elevation_query_database route_query_nodes_database route_query_lookup_database route route_create_databases_from_pbf lmdb_rewriter analyze_pbf
all: elevation_create_database elevation_query_database route_query_nodes_database route_query_lookup_database get_route route_create_databases_from_pbf lmdb_rewriter analyze_pbf
lmdb_rewriter: lmdb_rewriter.o
$(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS_LMDB)
......@@ -26,7 +26,7 @@ route_query_nodes_database: route_query_nodes_database.o nodes_db.o conv_functio
route_query_lookup_database: route_query_lookup_database.o lookup.o functions.o nodes_db.o lookup_db.o conv_functions.o
$(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS_LMDB)
route: route.o route_db.o lookup.o functions.o nodes_db.o lookup_db.o conv_functions.o get_route.o read_from_stdin.o write_to_stdout.o
get_route: get_route_main.o route_db.o lookup.o functions.o nodes_db.o lookup_db.o conv_functions.o get_route.o read_from_stdin.o write_to_stdout.o
$(CC) $(LDFLAGS) -o $@ $+ $(LDLIBS_LMDB)
route_create_databases_from_pbf: route_create_databases_from_pbf.o lookup_db.o nodes_db.o elevation.o parse_way.o conv_functions.o
......@@ -74,7 +74,7 @@ route_db.o: route_db.cc route_db.h conf.h lookup.h lookup_db.h nodes_db.h types.
get_route.o: get_route.cc get_route.h
$(CC) $(CXXFLAGS) -c $< -o $@
route.o: route.cc
get_route_main.o: get_route_main.cc
$(CC) $(CXXFLAGS) -c $< -o $@
route_create_databases_from_pbf.o: route_create_databases_from_pbf.cc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment