]> rtime.felk.cvut.cz Git - can-benchmark.git/blob - gw-tests/Makefile
Add links to script sources
[can-benchmark.git] / gw-tests / Makefile
1 T=$(filter-out lib.sh,$(wildcard *.sh))
2
3 .PHONY: $(T)
4
5 all: $(T) html
6         @echo "Run 'make plot' to generate graphs"
7
8 TEST_FLAGS = -P -t all
9
10 $(T):%:
11         ./$@ $(TEST_FLAGS)
12
13 .PHONY: plot plotall
14 PLOT_SCRIPTS=$(shell find results -name plot.sh)
15 THUMBS=$(PLOT_SCRIPTS:%/plot.sh=%/thumb)
16 plot: $(THUMBS)
17 %/thumb: %/plot.sh
18         $*/plot.sh -X
19
20 plotall: $(PLOT_SCRIPTS:%=run-%)
21 $(PLOT_SCRIPTS:%=run-%):
22         ${@:run-%=%} -X
23
24
25
26 .PHONY: html
27 html:
28         ./genhtml/genhtml.py results