diff options
author | Ian Jauslin <ian@jauslin.org> | 2020-02-06 02:44:20 -0500 |
---|---|---|
committer | Ian Jauslin <ian@jauslin.org> | 2020-02-06 02:44:20 -0500 |
commit | 4deba4d307b679c782ea535fded5e132055d95c6 (patch) | |
tree | 0b77d1b2d6040439e0c1ada3acd820af828c88a9 /figs/plots.fig/Makefile |
Diffstat (limited to 'figs/plots.fig/Makefile')
-rw-r--r-- | figs/plots.fig/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/figs/plots.fig/Makefile b/figs/plots.fig/Makefile new file mode 100644 index 0000000..39d1a0b --- /dev/null +++ b/figs/plots.fig/Makefile @@ -0,0 +1,28 @@ +PROJECTNAME=erho_bare erho erho_holzmann + +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 |