~martanne/vis

cc2fcb1408cd2086337b63b58e8f24ce2c50fc1c — Paride Legovini a month ago 8f5dabb
Makefile: add testclean target

The target calls `make clean` in the test submodule, if present.
The target is called by the `distclean` target.
1 files changed, 5 insertions(+), 1 deletions(-)

M Makefile
M Makefile => Makefile +5 -1
@@ 121,11 121,15 @@ test:
	[ -e test/Makefile ] || $(MAKE) test-update
	@$(MAKE) -C test

testclean:
	@echo cleaning the test artifacts
	[ ! -e test/Makefile ] || $(MAKE) -C test clean

clean:
	@echo cleaning
	@rm -f $(ELF) vis-single vis-single-payload.inc vis-*.tar.gz *.gcov *.gcda *.gcno

distclean: clean
distclean: clean testclean
	@echo cleaning build configuration
	@rm -f config.h config.mk