makefile: speed up build by using libmapnik-json.a as proxy for whether 'heavy' compiles have run yet

This commit is contained in:
Dane Springmeyer 2015-02-23 11:44:36 -08:00
parent 8153c1a9fd
commit 19cafa00fb

View file

@ -12,7 +12,7 @@ all: mapnik
install:
$(PYTHON) scons/scons.py -j$(JOBS) --config=cache --implicit-cache --max-drift=1 install
mapnik:
src/json/libmapnik-json.a:
# we first build memory intensive files with -j2
$(PYTHON) scons/scons.py -j2 \
--config=cache --implicit-cache --max-drift=1 \
@ -29,6 +29,8 @@ mapnik:
src/grid/process_group_symbolizer.os \
src/cairo/process_markers_symbolizer.os \
src/cairo/process_group_symbolizer.os \
mapnik: src/json/libmapnik-json.a
# then install the rest with -j$(JOBS)
$(PYTHON) scons/scons.py -j$(JOBS) --config=cache --implicit-cache --max-drift=1