summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 15c00d4c85..657b566497 100644
--- a/common.mk
+++ b/common.mk
@@ -893,6 +893,11 @@ COMPARE_RUBY = $(BASERUBY)
ITEM =
OPTS =
+# You can pass several options through OPTS environmanent variable.
+# $ make benchmark OPTS="--help" displays more dtail.
+# for example,
+# $ make benchmark COMPARE_RUBY="ruby-trunk" OPTS="-e ruby-2.2.2"
+# This command compares trunk and built-ruby and 2.2.2
benchmark: $(PROGRAM) PHONY
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
--executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \