From 685a8ad23be3ceac8387e32f49a4a387cae2434d Mon Sep 17 00:00:00 2001 From: Jan Janak Date: Sun, 22 Nov 2009 13:55:35 +0100 Subject: [PATCH] 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2