--- /dev/null
+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
--- /dev/null
+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