mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
makefile: Declare clean target as phony.
This ensures that make clean always proceeds, even if the user accidentally creates a file named 'clean'. Also, it ignores errors in rm and other commands. Signed-off-by: Jan Janak <jan@ryngle.com>
This commit is contained in:
parent
8aa339ac77
commit
685a8ad23b
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -75,5 +75,6 @@ DEPS := $(SRCS:%.c=.deps/%.d)
|
||||||
DEPS := $(DEPS:%.cc=.deps/%.d)
|
DEPS := $(DEPS:%.cc=.deps/%.d)
|
||||||
-include $(DEPS)
|
-include $(DEPS)
|
||||||
|
|
||||||
|
.PHONY : clean
|
||||||
clean:
|
clean:
|
||||||
rm -f $(CLEAN); rm -rf .deps
|
rm -f $(CLEAN); rm -rf .deps
|
||||||
|
|
Loading…
Reference in a new issue