bachelor_thesis/presentation/Makefile

64 lines
1.4 KiB
Makefile
Raw Normal View History

2020-02-25 13:21:59 +00:00
latex=xelatex
pdflatex=xelatex
bibtex=bibtex
2020-03-09 15:27:40 +00:00
graph_pngs= graphs/valid_graph.png \
graphs/clear_vop_01.png \
graphs/clear_vop_02.png \
graphs/clear_vop_03.png \
graphs/clear_vop_04.png \
graphs/clear_vop_05.png \
graphs/clear_vop_06.png
2020-03-05 13:23:00 +00:00
2020-04-15 14:02:38 +00:00
example_graphpngs= example_graphs/graph_apply_CZ.png \
example_graphs/graph_two_qbit_CZ_after.png \
example_graphs/graph_two_qbit_CZ_before.png \
example_graphs/graph_update_VOP.png\
example_graphs/graph_EPR_state.png\
example_graphs/graph_clear_VOPs_CZ_after.png\
example_graphs/graph_clear_VOPs_CZ_before.png\
example_graphs/graph_clear_VOPs_CZ_cleared.png
2020-03-05 13:23:00 +00:00
2020-02-25 13:21:59 +00:00
2020-04-01 11:13:35 +00:00
all: main_long.pdf main.pdf
main_long.pdf: main_long.tex $(graph_pngs)
$(latex) main_long
#$(bibtex) main_long
$(latex) main_long
$(pdflatex) main_long
2020-02-25 13:21:59 +00:00
2020-04-15 14:02:38 +00:00
main.pdf: main.tex $(graph_pngs) $(example_graphpngs)
2020-02-25 13:21:59 +00:00
$(latex) main
#$(bibtex) main
$(latex) main
$(pdflatex) main
2020-03-05 13:23:00 +00:00
graphs/%.png: graphs/%.dot
dot $< -Tpng -o $@
2020-04-15 14:02:38 +00:00
example_graphs/%.png:example_graphs/%.py
python3 $< > tmp.dot
dot -Tpng tmp.dot -o $@
rm tmp.dot
2020-02-25 13:21:59 +00:00
clean:
2020-04-01 11:13:35 +00:00
-rm main_long.aux
-rm main_long.blg
-rm main_long.dvi
-rm main_long.log
-rm main_long.out
-rm main_long.pdf
-rm main_long.toc
-rm main_long.bbl
-rm $(graph_pngs)
2020-04-15 14:02:38 +00:00
-rm $(example_graphpngs)
2020-02-25 13:21:59 +00:00
-rm main.aux
-rm main.blg
-rm main.dvi
-rm main.log
-rm main.out
-rm main.pdf
-rm main.toc
-rm main.bbl
2020-04-15 14:02:38 +00:00
-(cd example_graphs && make clean)