Simple enumerate command like the datamaps one

This commit is contained in:
Eric Fischer
2014-10-23 14:04:57 -07:00
parent ac00c84fb2
commit 4e1eacc5b2
2 changed files with 66 additions and 1 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
PREFIX=/usr/local
all: tippecanoe
all: tippecanoe enumerate
install: tippecanoe
cp tippecanoe $(PREFIX)/bin/tippecanoe
@@ -13,6 +13,9 @@ PG=
tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o clip.o pool.o mbtiles.o
g++ $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
enumerate: enumerate.o
gcc $(PG) -O3 -g -Wall -o $@ $^ -lsqlite3
libjsonpull.a: jsonpull.o
ar rc $@ $^
ranlib $@