From 21e6f2d8613bc7af49405843820496d15197fcdc Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 10 Mar 2019 11:42:38 +0100 Subject: [PATCH] jansson, tinycbor, mbedtls: avoid recompilations if not needed --- client/jansson/Makefile | 4 +++- client/tinycbor/Makefile | 4 +++- common/mbedtls/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/jansson/Makefile b/client/jansson/Makefile index 226e87cc3..8e138462b 100644 --- a/client/jansson/Makefile +++ b/client/jansson/Makefile @@ -49,10 +49,12 @@ SYSLIBS= MYLIBS= MYOBJS= -all: $(CMDOBJS) +$(LIB_A): $(CMDOBJS) $(AR) $(LIB_A) $(CMDOBJS) $(RANLIB) $(LIB_A) +all: $(LIB_A) + clean: $(RM) $(CLEAN) $(RM) $(LIB_A) diff --git a/client/tinycbor/Makefile b/client/tinycbor/Makefile index 511f57f7a..86e356bbd 100644 --- a/client/tinycbor/Makefile +++ b/client/tinycbor/Makefile @@ -31,10 +31,12 @@ SYSLIBS= MYLIBS= MYOBJS= -all: $(CMDOBJS) +$(LIB_A): $(CMDOBJS) $(AR) $(LIB_A) $(CMDOBJS) $(RANLIB) $(LIB_A) +all: $(LIB_A) + clean: $(RM) $(CLEAN) $(RM) $(LIB_A) diff --git a/common/mbedtls/Makefile b/common/mbedtls/Makefile index d57809c56..11bb22f07 100644 --- a/common/mbedtls/Makefile +++ b/common/mbedtls/Makefile @@ -72,10 +72,12 @@ SYSLIBS= MYLIBS= MYOBJS= -all: $(CMDOBJS) +$(LIB_A): $(CMDOBJS) $(AR) $(LIB_A) $(CMDOBJS) $(RANLIB) $(LIB_A) +all: $(LIB_A) + clean: $(RM) $(CLEAN) $(RM) $(LIB_A)