From afb38673ea9f5c45e7c3e8701eb7e44ca66eed6a Mon Sep 17 00:00:00 2001 From: Ahurac Date: Tue, 20 Feb 2024 14:41:19 +0100 Subject: [PATCH] Makefile : gardes sur les appels de mkdir et rm --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f2f6429..814cd08 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ debug: all gdb $(BIN) $(BIND): - mkdir $@ + mkdir -p -- $@ $(BIN): $(wildcard src/*.c) cc -g -Wall -Wextra -Werror -o $@ $^ clean: - rm -f $(wildcard $(BIND)/*) + rm -f -- $(wildcard $(BIND)/*)