* [COMMITTED] benchtests: Clean up extra-objs
@ 2016-04-20 7:51 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2016-04-20 7:51 UTC (permalink / raw)
To: libc-alpha
The bench-clean target would leave behind json-lib.o. Fix up to clean
up all extra-objs registered in benchtests.
---
ChangeLog | 2 ++
benchtests/Makefile | 5 ++++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e16c557..f26f8f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
+ * benchtests/Makefile (bench-clean): Clean up extra-objs.
+
* benchtests/README: Update README to include instructions on
using bench-build.
diff --git a/benchtests/Makefile b/benchtests/Makefile
index a05974e..779eb39 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -112,7 +112,9 @@ cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \
lib := nonlib
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
-extra-objs += json-lib.o
+bench-extra-objs = json-lib.o
+
+extra-objs += $(bench-extra-objs)
bench-deps := bench-skeleton.c bench-timing.h Makefile
@@ -127,6 +129,7 @@ bench-clean:
rm -f $(binaries-benchset) $(addsuffix .o,$(binaries-benchset))
rm -f $(binaries-bench-malloc) $(addsuffix .o,$(binaries-bench-malloc))
rm -f $(timing-type) $(addsuffix .o,$(timing-type))
+ rm -f $(addprefix $(objpfx),$(bench-extra-objs))
bench: $(timing-type) $(gen-locales) bench-build bench-set bench-func \
bench-malloc
--
2.5.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-20 7:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-20 7:51 [COMMITTED] benchtests: Clean up extra-objs Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).