From afd30dd0d184ac17e190289ff8cac76698bae83c Mon Sep 17 00:00:00 2001 From: Tony Olagbaiye Date: Wed, 9 May 2018 13:24:17 +0100 Subject: [PATCH] Build libjson-c before too --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1222d4b..c32b1c0 100644 --- a/Makefile +++ b/Makefile @@ -42,15 +42,13 @@ libwebsockets/lib/libwebsockets.a: cd libwebsockets && cmake -DLWS_STATIC_PIC=ON -DLWS_WITH_SHARED=OFF -DLWS_WITHOUT_TESTAPPS=ON -DLWS_WITH_LIBEV=OFF -DLWS_WITH_LIBUV=OFF -DLWS_WITH_LIBEVENT=OFF -DCMAKE_BUILD_TYPE=DEBUG . $(MAKE) -C libwebsockets -libwebsockets/include/libwebsockets.h: libwebsockets/lib/libwebsockets.a - json-c/libjson-c.a: cd json-c && cmake -DCMAKE_C_FLAGS=-fPIC . $(MAKE) -C json-c json-c-static depend: .depend -.depend: libwebsockets/include/libwebsockets.h $(SRCS) +.depend: libwebsockets/lib/libwebsockets.a json_c/libjson-c.a $(SRCS) $(RM) ./.depend $(CC) $(CFLAGS) -MM $^>>./.depend;