Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jauslin <ian@jauslin.org>2022-02-20 19:24:31 -0500
committerIan Jauslin <ian@jauslin.org>2022-02-20 19:24:31 -0500
commit41a4191aeead222cfe89de8ab595617fdea3524a (patch)
treef05a9a4e9818ca30a8480271b3dc89d2ff8c8261 /figs/energy.fig/Makefile
As presented at the University of Milan on 2022-02-21HEADv1.0master
Diffstat (limited to 'figs/energy.fig/Makefile')
-rw-r--r--figs/energy.fig/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/figs/energy.fig/Makefile b/figs/energy.fig/Makefile
new file mode 100644
index 0000000..e8d3f12
--- /dev/null
+++ b/figs/energy.fig/Makefile
@@ -0,0 +1,28 @@
+PROJECTNAME=erho_effective erho_fulleq erho_lowhigh
+
+PDFS=$(addsuffix .pdf, $(PROJECTNAME))
+
+all: $(PDFS)
+
+$(PDFS):
+ gnuplot $(patsubst %.pdf, %.gnuplot, $@) > $(patsubst %.pdf, %.tex, $@)
+ pdflatex -file-line-error $(patsubst %.pdf, %.tex, $@)
+
+install: $(PDFS)
+ cp $^ $(INSTALLDIR)/
+
+$(LIBS):
+ ln -fs libs/$@ ./
+
+clean-libs:
+ rm -f $(LIBS)
+
+clean-aux:
+ rm -f $(addsuffix .aux, $(PROJECTNAME))
+ rm -f $(addsuffix .log, $(PROJECTNAME))
+ rm -f $(addsuffix .tex, $(PROJECTNAME))
+
+clean-tex:
+ rm -f $(PDFS)
+
+clean: clean-libs clean-aux clean-tex