From fa1d2608a503ccd965f10a4486a41ea7a42e2dac Mon Sep 17 00:00:00 2001 From: "remi.greub" <remi.greub@hes-so.ch> Date: Fri, 4 Apr 2025 01:17:37 +0200 Subject: [PATCH] =?UTF-8?q?am=C3=A9lioration=20du=20makefile=20avec=20vari?= =?UTF-8?q?able=20ARGS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- puissance4_GRB/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/puissance4_GRB/Makefile b/puissance4_GRB/Makefile index be2266d..396bf0e 100644 --- a/puissance4_GRB/Makefile +++ b/puissance4_GRB/Makefile @@ -2,7 +2,7 @@ CC:=gcc CFLAGS:=-Wall -Wextra -pedantic -g -fsanitize=address,undefined -fsanitize-recover=address LDFLAGS:=-lm EXEC:=puissance4 - +ARGS:=1 6 7 puissance4: main.c puissance4.o @@ -18,7 +18,7 @@ clean: $(MAKE) -C testbed clean run: $(EXEC) - ./$< + ./$< $(ARGS) run_tests: unit_tests ./$< -- GitLab