From ebad5ad23dc6893b0fb75ba04aa961a25a532b5f Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Fri, 28 Jun 2024 00:06:40 +0300 Subject: Finished hash_map implementation TODO: fix that one linked list function --- Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1e1397a..4824636 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,9 @@ CC := gcc CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token +tests: container types -tests: container - - -container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c tests/binary_search.c tests/types.c +container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c tests/binary_search.c include/container.h $(CC) $(CFLAGS) -o $@ $< -DTT_CHAR ./$@ $(CC) $(CFLAGS) -o $@ $< -DTT_SHORT @@ -21,10 +19,15 @@ container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c tests/binary ./$@ $(CC) $(CFLAGS) -o $@ tests/binary_search.c ./$@ - $(CC) $(CFLAGS) -o $@ tests/types.c - ./$@ - $(CC) $(CFLAGS) -o $@ tests/linked_list.c + # $(CC) $(CFLAGS) -o $@ tests/linked_list.c + # ./$@ + $(CC) $(CFLAGS) -o $@ tests/hmap.c ./$@ rm $@ +types: + $(CC) -o $@ tests/types.c + ./$@ + + rm $@ -- cgit v1.2.3-70-g09d2