From d05975170e81442bde726730b6e2d1c37ea6c560 Mon Sep 17 00:00:00 2001 From: Saya Andy Date: Thu, 30 Jul 2026 12:22:07 +0700 Subject: Makefile: clean the dependency directory that is created cgit.mk generates dependency files into .depend, but clean removed .deps, so the stale .o.d files survived. They embed absolute compiler and SDK paths, which makes a tree that has been moved, shared between machines, or built inside a container fail after "make clean" with missing targets instead of rebuilding. Signed-off-by: Saya Andy --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9d39bf4..4e851af 100644 --- a/Makefile +++ b/Makefile @@ -158,7 +158,7 @@ $(DOC_PDF): %.pdf : %.txt clean: clean-doc $(RM) cgit VERSION CGIT-CFLAGS *.o tags - $(RM) -r .deps + $(RM) -r .depend cleanall: clean $(MAKE) -C git clean -- cgit v1.3.1+13