commit 5a1560feb0f702aeaa2ad65e9c2eca15fb4929b0 parent 8e2320c31788f362a54e357e4c8c6dc179b09e97 Author: Drew DeVault <sir@cmpwn.com> Date: Sat, 2 Jan 2021 15:45:38 -0500 make clean: remove test binaries Diffstat:
M | Makefile | | | 2 | +- |
M | configure | | | 14 | -------------- |
M | tests/configure | | | 5 | +++++ |
3 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/Makefile b/Makefile @@ -26,7 +26,7 @@ include tests/Makefile docs: -clean: +clean: clean-tests @rm -f harec $(harec_objects) $(libhart_objs) libhart.a distclean: clean diff --git a/configure b/configure @@ -1,20 +1,6 @@ #!/bin/sh -e srcdir=${SRCDIR:-$(dirname "$0")} -enable_rt=0 - -option() { - case $1 in - --enable-rt) - enable_rt=1 - ;; - *) - printf 'Unknown option %s\n' "$arg" >&2 - exit 1 - ;; - esac -} - eval ". $srcdir/config.sh" harec() { diff --git a/tests/configure b/tests/configure @@ -19,6 +19,11 @@ tests/$t: libhart.a tests/$t.ha @rm tests/$t.s tests/$t.ssa tests/$t.o check: tests/$t + +clean-test-$t: + @rm -f tests/$t + +clean-tests: clean-test-$t EOF done }