diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,8 +1,8 @@ CC := gcc -CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token +CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token -Wno-stringop-overread -Iinclude -tests: container types +tests: container types log container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c \ tests/binary_search.c tests/linked_list.c tests/hashset.c \ @@ -30,8 +30,14 @@ container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c \ rm $@ -types: - $(CC) -o $@ tests/types.c +types: tests/types.c + $(CC) -o $@ tests/types.c $(CFLAGS) ./$@ rm $@ + +log: tests/log.c + $(CC) -o $@ tests/log.c $(CFLAGS) + - ./$@ + rm $@ + |