aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov@twistea.su>2025-03-22 14:09:55 +0300
committerjustanothercatgirl <sotov@twistea.su>2025-03-22 14:09:55 +0300
commit0612bfa57649c4bffea0ca6e436539d8c3193a80 (patch)
tree67f98dcd8bf98194761c0ea3de4c2d48ca674bea /Makefile
parentff8ab43201e5c862003d9353016409c13691562c (diff)
Added json serializer/parser
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c24e590..3a44550 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CC := gcc
CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token -Wno-stringop-overread -Iinclude
-tests: container types log
+tests: container types log json
container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c \
tests/binary_search.c tests/linked_list.c tests/hashset.c \
@@ -30,14 +30,18 @@ container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c \
rm $@
-types: tests/types.c
+types: tests/types.c include/rstypes.h
$(CC) -o $@ tests/types.c $(CFLAGS)
./$@
rm $@
-log: tests/log.c
+log: tests/log.c include/log.h
$(CC) -o $@ tests/log.c $(CFLAGS)
- ./$@
rm $@
+json: tests/json.c include/jacson.h
+ $(CC) -o $@ tests/json.c $(CFLAGS)
+ ./$@
+ rm $@