diff options
| author | Paride Legovini <paride@debian.org> | 2020-07-07 11:05:58 +0200 |
|---|---|---|
| committer | Paride Legovini <paride@debian.org> | 2020-07-07 11:05:58 +0200 |
| commit | cc2fcb1408cd2086337b63b58e8f24ce2c50fc1c (patch) | |
| tree | b89f41c6eb45e3ccf989458df08fe703fb7fd5f2 | |
| parent | 8f5dabbf4db56a71b152b1677c9c3456886a307b (diff) | |
| download | vis-cc2fcb1408cd2086337b63b58e8f24ce2c50fc1c.tar.gz vis-cc2fcb1408cd2086337b63b58e8f24ce2c50fc1c.tar.xz | |
Makefile: add testclean target
The target calls `make clean` in the test submodule, if present.
The target is called by the `distclean` target.
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |
