Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <jauslin@ias.edu>2019-05-22 22:59:03 -0400
committerIan Jauslin <jauslin@ias.edu>2019-05-22 22:59:03 -0400
commitdf7449e4a29ec8d3182cf7b2aebcb86f7ac596c2 (patch)
tree182c5c85f57264b38c60a02ec268e5c00d937b34 /figs/fowler-nordheim.fig/Makefile
As presented at VirginiaTech on 2019-05-24HEADv1.0master
Diffstat (limited to 'figs/fowler-nordheim.fig/Makefile')
-rw-r--r--figs/fowler-nordheim.fig/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/figs/fowler-nordheim.fig/Makefile b/figs/fowler-nordheim.fig/Makefile
new file mode 100644
index 0000000..a6e5e53
--- /dev/null
+++ b/figs/fowler-nordheim.fig/Makefile
@@ -0,0 +1,29 @@
+PROJECTNAME=asymptotic
+
+PDFS=$(addsuffix .pdf, $(PROJECTNAME))
+TEXS=$(addsuffix .tikz.tex, $(PROJECTNAME))
+
+all: $(PDFS)
+
+$(PDFS): $(addsuffix .dat, $(PROJECTNAME))
+ gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tikz.tex, $@)
+ pdflatex -jobname $(basename $@) -file-line-error $(patsubst %.pdf, %.tikz.tex, $@)
+
+asymptotic.dat:
+ julia asymptotic.jl > asymptotic.dat
+
+install: $(PDFS)
+ cp $^ $(INSTALLDIR)/
+
+clean-aux:
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+
+clean-dat:
+ rm -f $(addsuffix .tikz.tex, $(PROJECTNAME))
+ rm -f short-time.dat
+
+clean-tex:
+ rm -f $(PDFS)
+
+clean: clean-dat clean-aux clean-tex