summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
-rw-r--r--tools/bench/Makefile.am4
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index b72cca7..863356c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,3 +27,7 @@ SUBDIRS = src tests doc tools
EXTRA_HEADERS = src/mpc-log.h
include_HEADERS = src/mpc.h @MPC_LOG_H@
EXTRA_DIST = doc/fdl-1.3.texi src/mpc-log.h Makefile.vc
+
+bench :
+ cd tools/bench && $(MAKE) $(AM_MAKEFLAGS) bench
+
diff --git a/tools/bench/Makefile.am b/tools/bench/Makefile.am
index aa60f95..310116d 100644
--- a/tools/bench/Makefile.am
+++ b/tools/bench/Makefile.am
@@ -24,6 +24,8 @@ LDADD = $(top_builddir)/src/libmpc.la
EXTRA_PROGRAMS = mpcbench
-
noinst_HEADERS = benchtime.h
+bench : mpcbench
+ ./mpcbench
+