28 lines
440 B
Makefile
28 lines
440 B
Makefile
TEX = pdflatex
|
|
BIBTEX = bibtex
|
|
PROJ = main
|
|
TEXFILE = main.tex
|
|
PYTHON = python
|
|
|
|
all: pdf
|
|
|
|
# pdf: $(TEXFILE)
|
|
# $(TEX) -shell-escape $<
|
|
# $(BIBTEX) $(PROJ)
|
|
# $(TEX) -shell-escape $<
|
|
pdf: $(TEXFILE)
|
|
$(PYTHON) figures/plots.py
|
|
$(TEX) -shell-escape $<
|
|
$(TEX) -shell-escape $<
|
|
|
|
clean:
|
|
rm -f \
|
|
$(TEXFILE:.tex=.pdf) \
|
|
$(TEXFILE:.tex=.aux) \
|
|
$(TEXFILE:.tex=.log) \
|
|
$(TEXFILE:.tex=.toc) \
|
|
texput.log \
|
|
main.pyg
|
|
rm -rf \
|
|
_minted-$(PROJ)
|