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

DOC=monte-carlo
FIGS=fig_correlation_collapse-hL fig_correlation fig_metastable fig_correlation-temp fig_clusters_ising2d
DATA=correlation correlation_temp metastable_raw metastable_func

all: ${DOC}.pdf

%.tex: figs/%.gplot ${DATA:%=data/%.dat}
	gnuplot $< > $@

${DOC}.pdf: ${DOC}.tex ${DOC}.bib ${FIGS:%=%.tex}
	rubber $(DOC).tex
	dvipdf $(DOC).dvi

clean:
	rubber --clean $(DOC)
	rm -f $(DOC).pdf
	rm -f $(DOC)Notes.bib
	rm -f ${FIGS:%=%.tex}