scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 07b4fdb377628004a417770806778869cc948d6c
parent 93de81a5485ea8183c494cd1e67bb988fa91117c
Author: Roberto E. Vargas Caballero <roberto.vargas@igrid-td.com>
Date:   Thu, 31 Mar 2016 12:23:22 +0200

Add multi-clean target to Makefile

This targes makes a clean for every architecture,
and it is perfect for a distclean.

Diffstat:
MMakefile | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -54,5 +54,11 @@ clean: (cd $$i; ${MAKE} -$(MAKEFLAGS) $@ || exit); \ done -distclean: clean +multi-clean: + for i in $(ARCHS) ; \ + do \ + ARCH=$$i $(MAKE) -e -$(MAKEFLAGS) clean || exit; \ + done + +distclean: multi-clean rm -f bin/cc* bin/scc