projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8aa339a
)
makefile: Declare clean target as phony.
author
Jan Janak
<jan@ryngle.com>
Sun, 22 Nov 2009 12:55:35 +0000
(13:55 +0100)
committer
Carl Worth
<cworth@cworth.org>
Mon, 23 Nov 2009 02:41:31 +0000
(
03:41
+0100)
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>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index ae8bff134a154544340bca9558aefe6639ff19d6..2cd1b1bae4af648b07b51a110e08f623868fa66e 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-75,5
+75,6
@@
DEPS := $(SRCS:%.c=.deps/%.d)
DEPS := $(DEPS:%.cc=.deps/%.d)
-include $(DEPS)
+.PHONY : clean
clean:
rm -f $(CLEAN); rm -rf .deps