From b59f9977ee15934e4d51d602e480baeb2546c5a8 Mon Sep 17 00:00:00 2001
From: thibaud <thibaud.hegelbac@etu.hesge.ch>
Date: Tue, 3 Dec 2024 15:32:11 +0100
Subject: [PATCH] =?UTF-8?q?mise=20=C3=A0=20jour=20du=20makefile=20pour=20l?=
 =?UTF-8?q?es=20tests?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 makefile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/makefile b/makefile
index 84cc947..0b0bf6e 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
-- 
GitLab