aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/Makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-11-01 15:37:41 +0100
committerNao Pross <np@0hm.ch>2021-11-01 15:37:41 +0100
commit3e86fb2e2d187220efb2038a26e68a37f1dc6ff5 (patch)
tree741ad10e3b564ed707afe273808ed8dcd127824a /doc/thesis/Makefile
parentOn the FT of h(t,tau) (diff)
downloadFading-3e86fb2e2d187220efb2038a26e68a37f1dc6ff5.tar.gz
Fading-3e86fb2e2d187220efb2038a26e68a37f1dc6ff5.zip
Draw figure for frequency selective channels
Diffstat (limited to 'doc/thesis/Makefile')
-rw-r--r--doc/thesis/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/thesis/Makefile b/doc/thesis/Makefile
index d5f02ab..167ad29 100644
--- a/doc/thesis/Makefile
+++ b/doc/thesis/Makefile
@@ -1,5 +1,5 @@
TEX := xelatex
-TEXARGS := -halt-on-error -interaction=nonstopmode
+TEXARGS := -halt-on-error -interaction=nonstopmode -shell-escape=1
SOURCES := \
Fading.tex \
@@ -20,7 +20,10 @@ SOURCES := \
figures/tikz/qam-modulator.tex \
figures/tikz/qam-constellation.tex \
figures/tikz/multipath-sketch.tex \
- figures/tikz/multipath-impulse-response.tex
+ figures/tikz/multipath-impulse-response.tex \
+ figures/tikz/multipath-frequency-response-plots.tex
+
+DATA := figures/data/multipath_frequency_response.dat
# Get the main file from the file
MAIN := $(shell sed -ne 's/^.*\!TeX root =\(.*\)$$/\1/ p' $(SOURCES))
@@ -34,7 +37,10 @@ endif
.PHONY: all
all: $(PDF)
-%.pdf: %.tex $(SOURCES)
+%.dat: %.py
+ /usr/bin/env python3 $<
+
+%.pdf: %.tex $(SOURCES) $(DATA)
$(TEX) $(TEXARGS) $<
# TODO: makeindex
biber $(basename $(MAIN))
@@ -42,7 +48,7 @@ all: $(PDF)
.PHONY: clean cleanall
clean:
- @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs *.lol
+ @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs *.lol *.auxlock *.figlist
@rm -vf tex/*.aux
@rm -vf chapters/*.aux