diff options
| author | Mosder <xmosder12@gmail.com> | 2026-08-21 11:50:51 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-08-21 11:50:51 +0200 |
| commit | b6b7a01987dca604a161c8c73a240ec4430baed0 (patch) | |
| tree | b9fdeb674ad767ccb16d1a3cdc2c6c975ea11737 /Makefile | |
| parent | 890a52b9af6e24015048eb2754552b9613484b3f (diff) | |
refactor: renamed mem/alloc.h to safe.h and made it be a collection of "safe" wrappers for "unsafe" functions
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |
