]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/Makefile
Add links to script sources
[can-benchmark.git] / gw-tests / Makefile
index ac9760f2c2ff244c3c789c0375bfc5777dfa7ae2..e1f22ec810f42447431a4210d074c6086065d84b 100644 (file)
@@ -10,9 +10,18 @@ TEST_FLAGS = -P -t all
 $(T):%:
        ./$@ $(TEST_FLAGS)
 
-.PHONY: plot
-plot:
-       find results -name plot.sh -exec '{}' -X ';'
+.PHONY: plot plotall
+PLOT_SCRIPTS=$(shell find results -name plot.sh)
+THUMBS=$(PLOT_SCRIPTS:%/plot.sh=%/thumb)
+plot: $(THUMBS)
+%/thumb: %/plot.sh
+       $*/plot.sh -X
+
+plotall: $(PLOT_SCRIPTS:%=run-%)
+$(PLOT_SCRIPTS:%=run-%):
+       ${@:run-%=%} -X
+
+
 
 .PHONY: html
 html: