Makefile : gardes sur les appels de mkdir et rm

This commit is contained in:
Ahurac 2024-02-20 14:41:19 +01:00
parent a0858c36cf
commit afb38673ea

View file

@ -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)/*)