From 19cafa00fb0dbbf421187818e98bf59bf4b819e0 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 23 Feb 2015 11:44:36 -0800 Subject: [PATCH] makefile: speed up build by using libmapnik-json.a as proxy for whether 'heavy' compiles have run yet --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d4bc48851..8be2dcd99 100755 --- a/Makefile +++ b/Makefile @@ -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