diff options
author | Jochen Topf <jochen@topf.org> | 2015-02-26 15:41:23 +0100 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2015-02-26 15:41:23 +0100 |
commit | 4a2073856b3ca10b61c158a12cc36aaaf8842f46 (patch) | |
tree | 5a31a736950594e3e66fe1586b3677d5d9fdbc52 /tagstats/Makefile | |
parent | 0ebe372964cdbb3a1caec14699bdcb0c43c0eafe (diff) | |
download | taginfo-4a2073856b3ca10b61c158a12cc36aaaf8842f46.tar taginfo-4a2073856b3ca10b61c158a12cc36aaaf8842f46.tar.gz |
Add similarity program to check for similar keys.
This adds the 'similarity' program that checks for similar keys in the
taginfo-db database. It is not run yet by the update script, but the
supporting database tables etc. are added by this commit.
Diffstat (limited to 'tagstats/Makefile')
-rw-r--r-- | tagstats/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tagstats/Makefile b/tagstats/Makefile index 0358a67..0752b49 100644 --- a/tagstats/Makefile +++ b/tagstats/Makefile @@ -43,7 +43,7 @@ LIB_SQLITE := -lsqlite3 .PHONY: all check indent install clean -all: tagstats osmstats +all: tagstats osmstats similarity osmstats: osmstats.cpp statistics_handler.hpp $(CXX) $(CXXFLAGS) $(CXXFLAGS_WARNINGS) -o $@ $< $(LDFLAGS) $(LIB_EXPAT) $(LIB_PBF) $(LIB_SQLITE) @@ -51,6 +51,9 @@ osmstats: osmstats.cpp statistics_handler.hpp tagstats: tagstats.cpp tagstats_handler.hpp statistics_handler.hpp string_store.hpp geodistribution.hpp sqlite.hpp $(CXX) $(CXXFLAGS) $(CXXFLAGS_WARNINGS) $(CXXFLAGS_FEATURES) -o $@ $< $(LDFLAGS) $(LIB_EXPAT) $(LIB_PBF) $(LIB_SQLITE) $(LIB_GD) +similarity: similarity.cpp sqlite.hpp + $(CXX) $(CXXFLAGS) $(CXXFLAGS_WARNINGS) $(CXXFLAGS_FEATURES) -o $@ $< $(LDFLAGS) $(LIB_SQLITE) + check: cppcheck --enable=all tagstats.cpp osmstats.cpp |