From 3e86fb2e2d187220efb2038a26e68a37f1dc6ff5 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 1 Nov 2021 15:37:41 +0100 Subject: Draw figure for frequency selective channels --- doc/thesis/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'doc/thesis/Makefile') 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 -- cgit v1.2.1