From e14c6bc3801be29eb5a64c813754b170a67d4956 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Sun, 2 Feb 2025 20:28:12 +0300 Subject: Added log header --- Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 21f4a17..c24e590 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ + -- cgit v1.2.3-70-g09d2