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)