From b04ed29b9e87f6de298a7dd7584651b86b657ddf Mon Sep 17 00:00:00 2001
From: Pradheep Unnikrishnan <pradheep.unnikrishnan@etu.unistra.fr>
Date: Tue, 19 Mar 2024 18:59:15 +0100
Subject: [PATCH] Ajout des options -g -Werror au commande

---
 TP3_SUITE_TP2_CLONE/code_modifie/sans_organisation/makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TP3_SUITE_TP2_CLONE/code_modifie/sans_organisation/makefile b/TP3_SUITE_TP2_CLONE/code_modifie/sans_organisation/makefile
index a617e3e..b7b4535 100644
--- a/TP3_SUITE_TP2_CLONE/code_modifie/sans_organisation/makefile
+++ b/TP3_SUITE_TP2_CLONE/code_modifie/sans_organisation/makefile
@@ -2,7 +2,7 @@ all: main run
 
 main: main.c
 	@echo "\n\033[31m--------------COMPILATION DU PROGRAMME -------------------------------------\033[0m\n"
-	gcc -g -o main main.c 
+	gcc -g -Werror -o main main.c 
 	@echo "\n\033[32mCompilation éxécuté avec succès\033[0m"
 
 run: 
-- 
GitLab