Add target bench-clean

This commit is contained in:
Siddhesh Poyarekar 2013-04-16 14:07:21 +05:30
parent 9fbf9acabe
commit a296407432
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
* Makefile.in (bench-clean): New target.
* benchtests/Makefile (bench-clean): Likewise.
2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
* elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.

View File

@ -12,7 +12,7 @@ install:
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" -C $(srcdir) objdir=`pwd` $@
bench:
bench bench-clean:
$(MAKE) -C $(srcdir)/benchtests $(PARALLELMFLAGS) objdir=`pwd` $@
# Convenience target to rebuild ULPs for all math tests.

View File

@ -120,6 +120,9 @@ run-bench = $(test-wrapper-env) \
GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
$($*-ENV) $(rtld-prefix) $${run}
bench-clean:
rm -f $(binaries-bench) $(addsuffix .o,$(binaries-bench))
bench: $(binaries-bench)
{ for run in $^; do \
echo "Running $${run}" >&2; \