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

DOC=essential-ising
FIGS=fig-susmag fig-series
DATA=data_square-4096
FUNCS=fig-mag_scaling-func fig-sus_scaling-func fig-series-data

all: ${DOC}.pdf

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