summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bef340ec..ffa81797 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,7 @@ PYTHONOPTIMIZE ?= 2
 CWD = $(shell pwd)
 PYTHON_SITE_DEST ?= $(shell $(PYTHON) -c 'import sys; sys.stdout.write( \
 	[p for p in sys.path if "site" in p][0])' 2> /dev/null)
+BMCOUNT ?= 5
 
 default: test compile
 	@echo 'Run `make options` for a list of all options'
@@ -82,10 +83,12 @@ cleandoc:
 
 test:
 	./all_tests.py 1
-	./all_benchmarks.py 1
+
+bm:
+	./all_benchmarks.py $(BMCOUNT)
 
 snapshot:
 	git archive HEAD | gzip > $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz
 
-.PHONY: default options all compile clean doc cleandoc test \
+.PHONY: default options all compile clean doc cleandoc test bm \
 	install uninstall snapshot
2 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114