diff --git a/Makefile b/Makefile index 6fd49618..4b9b26d9 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ vector_tile.pb.cc vector_tile.pb.h: vector_tile.proto PG= tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o - cc $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3 + g++ $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3 libjsonpull.a: jsonpull.o ar rc $@ $^ diff --git a/README.md b/README.md index da3bc157..a5cb9346 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ if it is appropriate to do more than that. Development ----------- -Requires protoc, protobuf-lite, and sqlite3. To build: +Requires protoc (brew install protobuf), protobuf-lite, and sqlite3. To build: make