summaryrefslogtreecommitdiff
path: root/tagstats/Makefile
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2012-07-15 15:50:55 +0200
committerJochen Topf <jochen@topf.org>2012-07-15 15:50:55 +0200
commit1358b4d4d9056921eabe4618b86b4170b3644274 (patch)
tree73e98bfb8415b98b5e1cae1193cccbcced976b81 /tagstats/Makefile
parentc3f9e2cf18ae1f6cb75b6d9c136ccfeb4271a14a (diff)
downloadtaginfo-1358b4d4d9056921eabe4618b86b4170b3644274.tar
taginfo-1358b4d4d9056921eabe4618b86b4170b3644274.tar.gz
Changes for newest Osmium version
Diffstat (limited to 'tagstats/Makefile')
-rw-r--r--tagstats/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/tagstats/Makefile b/tagstats/Makefile
index 6f50d93..c66e2b6 100644
--- a/tagstats/Makefile
+++ b/tagstats/Makefile
@@ -33,18 +33,18 @@ CXXFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
CXXFLAGS += `../bin/taginfo-config.rb tagstats.cxxflags`
-LDFLAGS = -L/usr/local/lib -lexpat -lpthread
+LDFLAGS = -L/usr/local/lib -lexpat
-LIB_SQLITE = -lsqlite3
-LIB_GD = -lgd -lz -lm
-LIB_PROTOBUF = -lz -lprotobuf-lite -losmpbf
+LIB_SQLITE = -lsqlite3
+LIB_GD = -lgd -lz -lm
+LIB_PBF = -lz -lpthread -lprotobuf-lite -losmpbf
.PHONY: all clean install
all: tagstats
tagstats: tagstats.cpp tagstats_handler.hpp statistics_handler.hpp string_store.hpp geodistribution.hpp
- $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(LIB_PROTOBUF) $(LIB_GD) $(LIB_SQLITE)
+ $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) $(LIB_PBF) $(LIB_GD) $(LIB_SQLITE)
check:
cppcheck --enable=all tagstats.cpp