50 lines
855 B
Makefile
50 lines
855 B
Makefile
latex=xelatex
|
|
pdflatex=xelatex
|
|
bibtex=bibtex
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
main.pdf: main.tex $(graph_pngs)
|
|
$(latex) main
|
|
#$(bibtex) main
|
|
$(latex) main
|
|
$(pdflatex) main
|
|
|
|
graphs/%.png: graphs/%.dot
|
|
dot $< -Tpng -o $@
|
|
|
|
clean:
|
|
-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)
|
|
-rm main.aux
|
|
-rm main.blg
|
|
-rm main.dvi
|
|
-rm main.log
|
|
-rm main.out
|
|
-rm main.pdf
|
|
-rm main.toc
|
|
-rm main.bbl
|