mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 17:35:42 +02:00
Commit to a name
This commit is contained in:
@@ -1,24 +1,18 @@
|
|||||||
PREFIX=/usr/local
|
PREFIX=/usr/local
|
||||||
|
|
||||||
all: jsoncat libjsonpull.a geojson
|
all: tippecanoe
|
||||||
|
|
||||||
install: jsonpull.h libjsonpull.a
|
install: tippecanoe
|
||||||
cp jsonpull.h $(PREFIX)/include/jsonpull.h
|
cp tippecanoe $(PREFIX)/bin/tippecanoe
|
||||||
cp libjsonpull.a $(PREFIX)/lib/libjsonpull.a
|
|
||||||
|
|
||||||
vector_tile.pb.cc vector_tile.pb.h: vector_tile.proto
|
vector_tile.pb.cc vector_tile.pb.h: vector_tile.proto
|
||||||
protoc --cpp_out=. vector_tile.proto
|
protoc --cpp_out=. vector_tile.proto
|
||||||
|
|
||||||
PG=
|
PG=
|
||||||
|
|
||||||
jsoncat: jsoncat.o jsonpull.o
|
tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o
|
||||||
cc $(PG) -g -Wall -o $@ $^
|
|
||||||
|
|
||||||
geojson: geojson.o jsonpull.o vector_tile.pb.o tile.o
|
|
||||||
cc $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
cc $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
||||||
|
|
||||||
jsoncat.o jsonpull.o: jsonpull.h
|
|
||||||
|
|
||||||
libjsonpull.a: jsonpull.o
|
libjsonpull.a: jsonpull.o
|
||||||
ar rc $@ $^
|
ar rc $@ $^
|
||||||
ranlib $@
|
ranlib $@
|
||||||
@@ -28,3 +22,6 @@ libjsonpull.a: jsonpull.o
|
|||||||
|
|
||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
g++ $(PG) -O3 -g -Wall -c $<
|
g++ $(PG) -O3 -g -Wall -c $<
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm tippecanoe *.o
|
||||||
|
|||||||
Reference in New Issue
Block a user