commit 42a7e083ac9e2c901944975a21bf3b1f0d5674d6
parent db14fc326082e6a7527d6f0ab3954fea88462b05
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 18 Jan 2025 14:01:25 +0100
build: Remove distclean clean dependency
This creates an exponential clean, and the dependency
is managed at the top level Makefile now. As many
times indicated, only top level build is guaranteed to
work.
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -36,7 +36,7 @@ clean: FORCE
touch config.mk
$(MAKE) -f main.mk clean
-distclean: FORCE
+distclean: clean FORCE
touch config.mk
$(MAKE) -f main.mk distclean
rm -f config.mk deps
diff --git a/scripts/rules.mk b/scripts/rules.mk
@@ -215,7 +215,7 @@ recursive-dep: FORCE
cd -; \
done
-distclean: clean recursive-distclean
+distclean: recursive-distclean
del-makefile: FORCE
rm -f makefile