scc

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

commit ae3d788c5b30c40ccc7e2a83734c82f49f17c3d0
parent f1b69c5dfd082ff26be842b189a3961b572600e2
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon,  7 Oct 2019 20:58:43 +0200

Add distclean target

This target is needed in include/scc/scc because we have files there
that are not removed by clean. These files can be customized by the
user, so it is not a good idea to remove them with clean. The nested
makefile had a distclean target that was never used because the top
makefiles didn't implemented it.

Diffstat:
MMakefile | 5+++++
Mscripts/rules.mk | 2++
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -34,6 +34,11 @@ $(ENVIRON): dep: $(FORALL) +distclean: clean + $(MAKE) $(ENVIRON) + $(FORALL) + rm -f $(ENVIRON) + clean: $(ENVIRON) $(FORALL) xargs rm -rf < $(SCRIPTDIR)/libc-proto diff --git a/scripts/rules.mk b/scripts/rules.mk @@ -73,6 +73,8 @@ all: dep: +distclean: + inc-dep: FORCE mkdep