aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/Makefile
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2022-07-19 18:48:09 +0200
committerGitHub <noreply@github.com>2022-07-19 18:48:09 +0200
commit97448d520134eed27c72cd60221910d5d2191ec9 (patch)
tree414029c38e3faa222e9ba08645d4305996b4fd48 /buch/papers/laguerre/Makefile
parentmakefile fix (diff)
parentCorrect typos, improve grammar (diff)
downloadSeminarSpezielleFunktionen-97448d520134eed27c72cd60221910d5d2191ec9.tar.gz
SeminarSpezielleFunktionen-97448d520134eed27c72cd60221910d5d2191ec9.zip
Merge pull request #23 from p1mueller/master
Erster Entwurf Laguerre
Diffstat (limited to 'buch/papers/laguerre/Makefile')
-rw-r--r--buch/papers/laguerre/Makefile39
1 files changed, 36 insertions, 3 deletions
diff --git a/buch/papers/laguerre/Makefile b/buch/papers/laguerre/Makefile
index 0f0985a..85a1b83 100644
--- a/buch/papers/laguerre/Makefile
+++ b/buch/papers/laguerre/Makefile
@@ -3,9 +3,42 @@
#
# (c) 2020 Prof Dr Andreas Mueller
#
+IMGFOLDER := images
+PRESFOLDER := presentation
-images: images/laguerre_polynomes.pdf
+FIGURES := \
+ images/targets.pdf \
+ images/rel_error_complex.pdf \
+ images/estimates.pdf \
+ images/integrand.pdf \
+ images/integrand_exp.pdf \
+ images/laguerre_poly.pdf \
+ images/rel_error_mirror.pdf \
+ images/rel_error_range.pdf \
+ images/rel_error_shifted.pdf \
+ images/rel_error_simple.pdf \
+ images/gammaplot.pdf
-images/laguerre_polynomes.pdf: scripts/laguerre_plot.py
- python3 scripts/laguerre_plot.py
+.PHONY: all
+all: images presentation
+.PHONY: images
+images: $(FIGURES)
+
+.PHONY: presentation
+presentation: $(PRESFOLDER)/presentation.pdf
+
+images/%.pdf images/%.pgf: scripts/%.py scripts/gamma_approx.py
+ python3 $<
+
+images/gammaplot.pdf: images/gammaplot.tex images/gammapaths.tex
+ cd $(IMGFOLDER) && latexmk -quiet -pdf gammaplot.tex
+
+$(PRESFOLDER)/%.pdf: $(PRESFOLDER)/%.tex $(FIGURES)
+ cd $(PRESFOLDER) && latexmk -quiet -pdf $(<F)
+
+.PHONY: clean
+clean:
+ rm $(FIGURES)
+ cd $(IMGFOLDER) && latexmk -C
+ cd $(PRESFOLDER) && latexmk -C \ No newline at end of file