From 23bb1c0fd62f01b32748afb88ce5947da2505d18 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 31 Jul 2023 17:34:43 +0300 Subject: [PATCH] update script --- .gitmodules | 3 +++ Makefile | 6 +++--- cJSON | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 .gitmodules create mode 160000 cJSON diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..a7c365c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "cJSON"] + path = cJSON + url = https://github.com/DaveGamble/cJSON diff --git a/Makefile b/Makefile index a30652e..c77e90f 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -CC = clang -CFLAGS = -O2 +CC = gcc +CFLAGS = -O3 LIBS = -lcjson all: make-libs-string make-libs-string: - $(CC) $(CFLAGS) make-libs-string.c $(LIBS) -o $@ + $(CC) $(CFLAGS) -o $@ make-libs-string.c $(LIBS) clean: rm make-libs-string diff --git a/cJSON b/cJSON new file mode 160000 index 0000000..cb8693b --- /dev/null +++ b/cJSON @@ -0,0 +1 @@ +Subproject commit cb8693b058ba302f4829ec6d03f609ac6f848546