scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 8377bd854349d9b9c20738f05d8cfc5abefc2787
parent fea73f0b34c2e192b38362e6468870a1c1ce312a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 26 Dec 2024 22:24:54 +0100

build: Add default distclean rule

As we have a dep target now, it makes sense to have a distclean
that deletes all the makefiles generated by the dep target.

Diffstat:
Mscripts/rules.mk | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/rules.mk b/scripts/rules.mk @@ -212,3 +212,8 @@ dep: inc-dep inc-dep: FORCE test -n "$(NODEP)" || $(MKDEP) + +distclean: clean del-inc-dep + +del-inc-dep: FORCE + find . -name makefile | xargs rm -f