aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Jan Janak <jan@ryngle.com>2009-11-22 13:55:35 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-23 03:41:31 +0100
commit685a8ad23be3ceac8387e32f49a4a387cae2434d (patch)
treea661ffc86a28126319e18efaf7ea31d20f7e46d0 /Makefile
parent8aa339ac770f77009593b77dfdc68cff53fa02ae (diff)
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ae8bff13..2cd1b1ba 100644
--- 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