Makefiles hinzugefĆ¼gt.
authorFlorian Forster <octo@leeloo.octo.it>
Thu, 21 Jul 2011 06:20:14 +0000 (08:20 +0200)
committerFlorian Forster <octo@leeloo.octo.it>
Thu, 21 Jul 2011 06:20:14 +0000 (08:20 +0200)
Makefile [new file with mode: 0644]
images/Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..3481659
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+all: images diplomarbeit.pdf
+
+clean:
+       rm -f diplomarbeit.{aux,log,pdf,toc}
+       make -C images clean
+
+images:
+       make -C images all
+
+diplomarbeit.pdf: diplomarbeit.tex
+       [ -e diplomarbeit.pdf ] || pdflatex diplomarbeit
+       if egrep -q 'Citation .* undefined' diplomarbeit.log; then \
+               bibtex diplomarbeit; pdflatex diplomarbeit; \
+       fi
+       while egrep -q 'There were undefined references' diplomarbeit.log; do \
+               pdflatex diplomarbeit; \
+       done
+
+.PHONY: clean
diff --git a/images/Makefile b/images/Makefile
new file mode 100644 (file)
index 0000000..2bf7d91
--- /dev/null
@@ -0,0 +1,38 @@
+PDF_FILES = collisions-100000-1000000-32-ps.pdf \
+           collisions-10000-1000000-32.pdf \
+           comparison-comparators-16.pdf \
+           count-cuts-16.pdf \
+           markov-comparators-12-pct.pdf \
+           markov-comparators-14-pct.pdf \
+           markov-comparators-16-pct.pdf \
+           markov-comparators-18-pct.pdf \
+           markov-cycles-16.pdf
+
+GPL_FILES = collisions-100000-1000000-32-ps.gnuplot \
+           collisions-10000-1000000-32.gnuplot \
+           comparison-comparators-16.gnuplot \
+           count-cuts-16.gnuplot \
+           markov-comparators-12-pct.gnuplot \
+           markov-comparators-14-pct.gnuplot \
+           markov-comparators-16-pct.gnuplot \
+           markov-comparators-18-pct.gnuplot \
+           markov-cycles-16.gnuplot
+
+all: $(PDF_FILES)
+
+clean:
+       rm -f $(PDF_FILES)
+
+collisions-10000-1000000-32.pdf: collisions-10000-1000000-32.gnuplot collisions-10000-1000000-32-bs.data collisions-10000-1000000-32-oes.data
+       gnuplot collisions-10000-1000000-32.gnuplot
+
+comparison-comparators-16.pdf: comparison-comparators-16.gnuplot markov-comparators-16-pct.data evolution-comparators-16-bs-pct.data evolution-comparators-16-oes-pct.data
+       gnuplot comparison-comparators-16.gnuplot
+
+count-cuts-16.pdf: count-cuts-16.gnuplot count-cuts-16-bs.data count-cuts-16-oes.data count-cuts-16-ps.data
+       gnuplot count-cuts-16.gnuplot
+
+%.pdf: %.gnuplot %.data
+       gnuplot $<
+
+.PHONY: clean