aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-07-31 18:51:21 +0200
committerMosder <xmosder12@gmail.com>2026-07-31 18:51:21 +0200
commit08389a6d306570fc4575988e62a8397a5ff49bee (patch)
treef52e537a17f9707cdb28116b1b72f9188ef7343c /Makefile
parent4f4466155b6d9b5259ccd956551a675ad693e773 (diff)
feat: created tester
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index def9b73..194aa3b 100644
--- a/Makefile
+++ b/Makefile
@@ -26,9 +26,10 @@ structures:
$(CC) $(CFLAGS) -c src/ds/array.c
test:
- $(CC) $(CFLAGS_TEST) tests/main.c -o run_tests
- ./run_tests
- rm run_tests
+ $(CC) $(CFLAGS_TEST) -c tests/mem/alloc_tests.c
+ $(CC) $(CFLAGS_TEST) *.o tests/tests.c -o run_tests
+ ./run_tests 2>/dev/null
+ rm run_tests *.o
.PHONY: clean
clean: