diff --git a/makefile b/makefile index 84cc947baf0b898568d7377203e3437524bc82f3..0b0bf6e86216d6ee5d0f651178c8dbda57ffe837 100644 --- a/makefile +++ b/makefile @@ -1,7 +1,13 @@ matrix: matrix.c matrix.h gcc matrix.c -o matrix -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak +test: matrix_test.c + gcc matrix_test.c -o matrix_test -Wall -Wextra -pedantic -fsanitize=address -fsanitize=leak + clean: - rm -f *.o string_manip + rm -f *.o matrix + rm -f *.o test -rebuild: clean string_manip \ No newline at end of file +rebuild: + clean matrix + clean test \ No newline at end of file