From 0745e1b09094173a89ccc03054a2c003a8cfc401 Mon Sep 17 00:00:00 2001
From: Orestis <orestis.malaspinas@hesge.ch>
Date: Mon, 24 Aug 2020 21:31:29 +0200
Subject: [PATCH] updated makefile for testing

---
 travail_pratique/vec2/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/travail_pratique/vec2/Makefile b/travail_pratique/vec2/Makefile
index 668479b..79d77da 100644
--- a/travail_pratique/vec2/Makefile
+++ b/travail_pratique/vec2/Makefile
@@ -11,5 +11,9 @@ main.o: main.c
 vec2.o: vec2.c vec2.h
 	$(CC) $(OPTS) -c $^
 
+test:
+	make -C tests test
+
 clean:
-	rm -f *.o main
\ No newline at end of file
+	rm -f *.o main
+	make -C tests clean
-- 
GitLab