[fix]: Makefile dependency for target "shared"

This commit is contained in:
Feng Wang 2023-07-07 19:41:08 +08:00
parent cb8693b058
commit d0df8ca132

View File

@ -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