summaryrefslogtreecommitdiff
path: root/makefile
blob: 364b6598df9e9acff62d87793c326c684f91c2c4 (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
DATA=fig_correlation_data_collapse-hL

all: ${DOC}.pdf

%.tex: figs/%.gplot ${DATA:%=figs/%.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}