Makefile : déplacer la règle clean avec les autres règles PHONY
This commit is contained in:
parent
1cb78fb97b
commit
c8be7733d0
1 changed files with 3 additions and 3 deletions
6
Makefile
6
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)/*)
|
||||
|
|
Reference in a new issue