diff options
author | Jochen Topf <jochen@topf.org> | 2012-08-20 19:13:45 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2012-08-20 19:13:45 +0200 |
commit | 3a95d2d5daae4bb16534104925dc4c66420a495b (patch) | |
tree | a86a4202d48914c77292e97f76655865e0f6e3e2 /tagstats/Makefile | |
parent | 1737c51ce067d18c154c49cb725ff351467d5c44 (diff) | |
download | taginfo-3a95d2d5daae4bb16534104925dc4c66420a495b.tar taginfo-3a95d2d5daae4bb16534104925dc4c66420a495b.tar.gz |
Move Sqlite wrapper class from Osmium in here.
The wrapper never fit into Osmium. So we'll put it here. Also there was an
example program in Osmium to test the Statistics handler. This has moved
here now, too (osmstats).
Diffstat (limited to 'tagstats/Makefile')
-rw-r--r-- | tagstats/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tagstats/Makefile b/tagstats/Makefile index 04a453d..19e33cd 100644 --- a/tagstats/Makefile +++ b/tagstats/Makefile @@ -41,13 +41,16 @@ LDFLAGS = $(LIB_EXPAT) $(LIB_PBF) $(LIB_GD) $(LIB_SQLITE) .PHONY: all clean install -all: tagstats +all: tagstats osmstats + +osmstats: osmstats.cpp statistics_handler.hpp + $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) tagstats: tagstats.cpp tagstats_handler.hpp statistics_handler.hpp string_store.hpp geodistribution.hpp $(CXX) $(CXXFLAGS) -o $@ $< $(LDFLAGS) check: - cppcheck --enable=all tagstats.cpp + cppcheck --enable=all tagstats.cpp osmstats.cpp indent: astyle --style=java --indent-namespaces --indent-switches --pad-header --suffix=none \*.hpp \*.cpp @@ -56,5 +59,5 @@ install: install -m 755 tagstats ../sources/db/tagstats clean: - rm -f *.o core tagstats + rm -f *.o core tagstats osmstats |