forked from SyncFree/basho_bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (24 loc) · 781 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.PHONY: deps
all: deps compile
./rebar skip_deps=true escriptize
deps:
./rebar get-deps
compile: deps
@(./rebar compile)
clean:
@./rebar clean
distclean: clean
@rm -rf basho_bench deps
results:
Rscript --vanilla priv/summary.r -i tests/current
byte_sec-results:
Rscript --vanilla priv/summary.r --ylabel1stgraph byte/sec -i tests/current
kbyte_sec-results:
Rscript --vanilla priv/summary.r --ylabel1stgraph Kbyte/sec -i tests/current
mbyte_sec-results:
Rscript --vanilla priv/summary.r --ylabel1stgraph Mbyte/sec -i tests/current
TARGETS := $(shell ls tests/ | grep -v current)
JOBS := $(addprefix job,${TARGETS})
.PHONY: all_results ${JOBS}
all_results: ${JOBS} ; echo "$@ successfully generated."
${JOBS}: job%: ; Rscript --vanilla priv/summary.r -i tests/$*