M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@ -0,0 +1,21 @@
LOCAL_SRC_FILES:= cJSON.c
LOCAL_LIBS += -lm
LOCAL_CFLAGS += -I./
#we should use autoconf later.
LOCAL_CFLAGS +=
LIB_OBJECTS := $(LOCAL_SRC_FILES:.c=.o)
TARGET = libcjson.so
.PHONY: all
all:${TARGET}
%.o:%.c
${CC} -fPIC ${CFLAGS} ${LOCAL_CFLAGS} -c $< -o $@
${TARGET}:${LIB_OBJECTS}
${CC} -shared ${LDFLAGS} ${LOCAL_LIBS} ${LIB_OBJECTS} -o $@