From d0df8ca1328b3d3b9ed47b95f89d017dc2190bed Mon Sep 17 00:00:00 2001 From: Feng Wang Date: Fri, 7 Jul 2023 19:41:08 +0800 Subject: [PATCH] [fix]: Makefile dependency for target "shared" --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 40b6152..cc2444f 100644 --- a/Makefile +++ b/Makefile @@ -100,8 +100,8 @@ $(UTILS_STATIC): $(UTILS_OBJ) $(CJSON_SHARED_VERSION): $(CJSON_OBJ) $(CC) -shared -o $@ $< $(CJSON_SO_LDFLAG) $(LDFLAGS) #cJSON_Utils -$(UTILS_SHARED_VERSION): $(UTILS_OBJ) - $(CC) -shared -o $@ $< $(CJSON_OBJ) $(UTILS_SO_LDFLAG) $(LDFLAGS) +$(UTILS_SHARED_VERSION): $(UTILS_OBJ) $(CJSON_OBJ) + $(CC) -shared -o $@ $< $(UTILS_SO_LDFLAG) $(LDFLAGS) #objects #cJSON