aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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 $@