From 2c7393875a31837e6e75bc691d95ef71288df681 Mon Sep 17 00:00:00 2001 From: Ciprian Manea Date: Tue, 22 Apr 2014 16:23:35 +0300 Subject: [PATCH] Adding support for $ make all_results --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 528cce2ae..1a3ccfa88 100644 --- a/Makefile +++ b/Makefile @@ -26,3 +26,10 @@ kbyte_sec-results: 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/$*