diff options
author | Ian Jauslin <ian@jauslin.org> | 2021-04-28 10:11:13 -0400 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2021-04-28 10:11:13 -0400 |
commit | 1f5187ec369f11f102f975ff69ca4e8109eff7cf (patch) | |
tree | 74f1c1b7f44487dfaeffae4a11fdc750aecbfdd0 /figs/energy.fig/Makefile |
Diffstat (limited to 'figs/energy.fig/Makefile')
-rw-r--r-- | figs/energy.fig/Makefile | 28 |
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 |