projects
/
cdsspec-compiler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61eb460
)
Makefile: add benchmarks to top-level
author
Brian Norris
<banorris@uci.edu>
Wed, 10 Oct 2012 23:01:30 +0000
(16:01 -0700)
committer
Brian Norris
<banorris@uci.edu>
Wed, 10 Oct 2012 23:12:57 +0000
(16:12 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d530fee70ca50bb1702c7c098c565c6cdf28edb9..764b8abf1bd2050641b498b06736f8990ca14ad3 100644
(file)
--- 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)