From ccdaf1038cb8c21ede5869ac3cca6df6f1320b71 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 11 Nov 2021 15:10:24 -0500 Subject: [PATCH] build: stop redundant ck builds --- runtime/thirdparty/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/runtime/thirdparty/Makefile b/runtime/thirdparty/Makefile index 7ec4078..dafef01 100644 --- a/runtime/thirdparty/Makefile +++ b/runtime/thirdparty/Makefile @@ -8,12 +8,14 @@ all: clean build build: ck jsmn http-parser # Concurrency Kit -.PHONY: ck -ck: ck/configure - mkdir -p ${DIST_PREFIX} +ck/Makefile: ck/Makefile.in ck/configure cd ck; ./configure --cores=$(shell getconf _NPROCESSORS_CONF) --prefix=${DIST_PREFIX} - make -C ck all - make -C ck install + +${DIST_PREFIX}/lib/libck.so: ck/Makefile + make -C ck all install + +.PHONY: ck +ck: ${DIST_PREFIX}/lib/libck.so # HTTP Parser ${DIST_PREFIX}/include/http_parser.h: http-parser/http_parser.h