summaryrefslogtreecommitdiff
path: root/tagstats/Makefile
diff options
context:
space:
mode:
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