aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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: