summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..2a9a11a
--- /dev/null
+++ b/makefile
@@ -0,0 +1,20 @@
+
+DOC=monte-carlo
+FIGS=fig_correlation_collapse-hL fig_correlation
+DATA=fig_correlation_data_collapse-hL
+
+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}
+