X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba-papers.git/blobdiff_plain/70d3faaa14c1e0c000a3764d730ca9e6f30c7e34..fa4cedc991dae7ede5d4b1cf3c1ee81417dd87ed:/supercomp11/data/Makefile

diff --git a/supercomp11/data/Makefile b/supercomp11/data/Makefile
index 85cc01d..afb1ba6 100644
--- a/supercomp11/data/Makefile
+++ b/supercomp11/data/Makefile
@@ -1,3 +1,9 @@
+SHELL = /bin/bash
+
+.PHONY: all
+
+all: all.pdf all2.pdf allgraphs.pdf
+
 all.pdf: all.tex results.done
 	pdflatex all.tex
 
@@ -6,4 +12,19 @@ all.tex: genalltex
 
 results.done: alldata plot plotall
 	./plotall
-	touch results.done
+	touch $@
+
+all2.pdf: all2.tex results2.done
+	pdflatex all2.tex
+
+all2.tex: genalltex2
+	./genalltex2 > all2.tex
+
+results2.done: data.rda script.r
+	R --no-save < script.r
+	touch $@
+
+allgraphs.pdf: results2.done
+	pdfunite \
+	  graphs/{R,I}{1,N}-{10:1,1:1,1:10}-{cluster,grid}-{line,torus,hcube}.pdf \
+	  $@