mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 18:05:42 +02:00
Explicitly use /usr/local, as Yosemite apparently needs
This commit is contained in:
@@ -12,24 +12,27 @@ PG=
|
|||||||
|
|
||||||
H = $(shell find . '(' -name '*.h' -o -name '*.hh' ')')
|
H = $(shell find . '(' -name '*.h' -o -name '*.hh' ')')
|
||||||
|
|
||||||
|
INCLUDES = -I/usr/local/include
|
||||||
|
LIBS = -L/usr/local/lib
|
||||||
|
|
||||||
tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o clip.o pool.o mbtiles.o geometry.o projection.o
|
tippecanoe: geojson.o jsonpull.o vector_tile.pb.o tile.o clip.o pool.o mbtiles.o geometry.o projection.o
|
||||||
g++ $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
g++ $(PG) $(LIBS) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
||||||
|
|
||||||
enumerate: enumerate.o
|
enumerate: enumerate.o
|
||||||
gcc $(PG) -O3 -g -Wall -o $@ $^ -lsqlite3
|
gcc $(PG) $(LIBS) -O3 -g -Wall -o $@ $^ -lsqlite3
|
||||||
|
|
||||||
decode: decode.o vector_tile.pb.o projection.o
|
decode: decode.o vector_tile.pb.o projection.o
|
||||||
g++ $(PG) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
g++ $(PG) $(LIBS) -O3 -g -Wall -o $@ $^ -lm -lz -lprotobuf-lite -lsqlite3
|
||||||
|
|
||||||
libjsonpull.a: jsonpull.o
|
libjsonpull.a: jsonpull.o
|
||||||
ar rc $@ $^
|
ar rc $@ $^
|
||||||
ranlib $@
|
ranlib $@
|
||||||
|
|
||||||
%.o: %.c $(H)
|
%.o: %.c $(H)
|
||||||
cc $(PG) -O3 -g -Wall -c $<
|
cc $(PG) $(INCLUDES) -O3 -g -Wall -c $<
|
||||||
|
|
||||||
%.o: %.cc $(H)
|
%.o: %.cc $(H)
|
||||||
g++ $(PG) -O3 -g -Wall -c $<
|
g++ $(PG) $(INCLUDES) -O3 -g -Wall -c $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm tippecanoe *.o
|
rm tippecanoe *.o
|
||||||
|
|||||||
Reference in New Issue
Block a user