forked from systemed/tilemaker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (13 loc) · 654 Bytes
/
Makefile
File metadata and controls
17 lines (13 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
LUA_CFLAGS := -I/usr/local/include/lua5.1 -I/usr/include/lua5.1
LUA_LIBS := -llua5.1
CXXFLAGS := -O3 -Wall -Wno-unknown-pragmas -Wno-sign-compare -std=c++11
LIB := -L/usr/local/lib -lz $(LUA_LIBS) -lboost_program_options -lluabind -lsqlite3 -lboost_filesystem -lboost_system -lprotobuf
INC := -I/usr/local/include -I./include -I./src $(LUA_CFLAGS)
all:
protoc --proto_path=include --cpp_out=include include/osmformat.proto include/vector_tile.proto
g++ $(CXXFLAGS) -o tilemaker include/osmformat.pb.cc include/vector_tile.pb.cc src/tilemaker.cpp $(INC) $(LIB)
install:
install -m 0755 tilemaker /usr/local/bin
clean:
rm tilemaker
.PHONY: install