summaryrefslogtreecommitdiff
path: root/makefile
blob: c3d976442be458d79bb11adf21ebe951b11317e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

DOC=monte-carlo
FIGS=fig_cluster-scaling fig_correlation-times fig_harmonic-susceptibilities fig_generator-times
DATA=correlation correlation_temp metastable_raw metastable_func

all: ${DOC}.pdf

%.tex: figs/%.gplot $(shell find data -type f)
	gnuplot $< > $@

${DOC}.pdf: ${DOC}.tex ${DOC}.bib ${FIGS:%=%.tex}
	latexmk -pdfdvi $(DOC).tex

clean:
	latexmk -C -f ${DOC}
	rm -f ${DOC}.bbl ${DOC}Notes.bib
	rm -f ${FIGS:%=%.tex} ${FIGS:%=%.eps}