From b6b7a01987dca604a161c8c73a240ec4430baed0 Mon Sep 17 00:00:00 2001 From: Mosder Date: Fri, 21 Aug 2026 11:50:51 +0200 Subject: refactor: renamed mem/alloc.h to safe.h and made it be a collection of "safe" wrappers for "unsafe" functions --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0c4622b..6fc62cd 100644 --- a/Makefile +++ b/Makefile @@ -16,19 +16,17 @@ static: compile headers headers: sudo cp -r include/* /usr/local/include -compile: memory structures +compile: structures $(CC) $(CFLAGS) -c src/tester.c + $(CC) $(CFLAGS) -c src/safe.c $(CC) $(CFLAGS) -c src/string.c -memory: - $(CC) $(CFLAGS) -c src/mem/alloc.c - structures: $(CC) $(CFLAGS) -c src/ds/array.c $(CC) $(CFLAGS) -c src/ds/hashmap.c test: - $(CC) $(CFLAGS_TEST) -c tests/mem/alloc_tests.c + $(CC) $(CFLAGS_TEST) -c tests/safe_tests.c $(CC) $(CFLAGS_TEST) -c tests/ds/array_tests.c $(CC) $(CFLAGS_TEST) -c tests/string_tests.c $(CC) $(CFLAGS_TEST) -c tests/ds/hashmap_tests.c -- cgit v1.2.3