Makefile : gardes sur les appels de mkdir et rm
This commit is contained in:
parent
a0858c36cf
commit
afb38673ea
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -10,10 +10,10 @@ debug: all
|
||||||
gdb $(BIN)
|
gdb $(BIN)
|
||||||
|
|
||||||
$(BIND):
|
$(BIND):
|
||||||
mkdir $@
|
mkdir -p -- $@
|
||||||
|
|
||||||
$(BIN): $(wildcard src/*.c)
|
$(BIN): $(wildcard src/*.c)
|
||||||
cc -g -Wall -Wextra -Werror -o $@ $^
|
cc -g -Wall -Wextra -Werror -o $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(wildcard $(BIND)/*)
|
rm -f -- $(wildcard $(BIND)/*)
|
||||||
|
|
Reference in a new issue