]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/Makefile
Allow calling `make html` when results is a symlink
[can-benchmark.git] / gw-tests / Makefile
index 5cb074cefcd1001e89ca9ed51f40b42b1573754c..5ecb187dea71dab29e2aab3148bd685516f6558b 100644 (file)
@@ -15,7 +15,7 @@ $(T:%=run-%):run-%:
 
 .PHONY: plot plotall
 
-PLOT_SCRIPTS=$(shell find results -name plot.sh)
+PLOT_SCRIPTS=$(shell find results/ -name plot.sh)
 
 define plot_template
 plot: $1/graph.png
@@ -33,9 +33,13 @@ endef
 $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plot_template,$(result_dir))))
 $(foreach result_dir,$(PLOT_SCRIPTS:%/plot.sh=%),$(eval $(call plotall_template,$(result_dir))))
 
+.PHONY: RTEMS
+RTEMS:
+       ./rtems_bench.py
+
 .PHONY: html
 html:
-       ./genhtml/genhtml.py results
+       ./genhtml/genhtml.py results $(CURDIR)
 
 KERNELS=2.6.33.7-00007-g9c0ff90 2.6.33.7-rt29-00004-g92487e4 2.6.36.2-00015-g4f1bc4e 3.0.4-00007-g1c8c373 3.0.4-rt14-00008-gb2052fd