From b2079b62d3578a75e342c012716aa214e3228d42 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Wed, 10 Oct 2012 16:01:30 -0700 Subject: [PATCH] Makefile: add benchmarks to top-level --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index d530fee7..764b8abf 100644 --- a/Makefile +++ b/Makefile @@ -61,4 +61,16 @@ PHONY += tests tests: $(LIB_SO) $(MAKE) -C $(TESTS_DIR) +BENCHMARKS := benchmarks + +PHONY += benchmarks +benchmarks: $(LIB_SO) + @if ! test -d $(BENCHMARKS); then \ + echo "Directory $(BENCHMARKS) does not exist" && \ + echo "Please clone the benchmarks repository" && \ + echo && \ + exit 1; \ + fi + $(MAKE) -C $(BENCHMARKS) + .PHONY: $(PHONY) -- 2.34.1