From c8be7733d000f0e7718d45dfb3a84f42100075ef Mon Sep 17 00:00:00 2001 From: Ahurac Date: Tue, 20 Feb 2024 15:31:03 +0100 Subject: [PATCH] =?UTF-8?q?Makefile=20:=20d=C3=A9placer=20la=20r=C3=A8gle?= =?UTF-8?q?=20clean=20avec=20les=20autres=20r=C3=A8gles=20PHONY?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 74417ad..d7c8e24 100644 --- a/Makefile +++ b/Makefile @@ -11,11 +11,11 @@ run: all debug: all gdb $(BIN) +clean: + rm -f -- $(wildcard $(BIND)/*) + $(BIND): mkdir -p -- $@ $(BIN): $(wildcard src/*.c) cc -g -Wall -Wextra -Werror -o $@ $^ - -clean: - rm -f -- $(wildcard $(BIND)/*)