42 lines
814 B
Makefile
42 lines
814 B
Makefile
TEX = pdflatex
|
|
BIBTEX = bibtex
|
|
PROJ = main
|
|
TEXFILE = main.tex
|
|
PYTHON = python
|
|
|
|
all: pdf submission
|
|
|
|
# pdf: $(TEXFILE)
|
|
# $(TEX) -shell-escape $<
|
|
# $(BIBTEX) $(PROJ)
|
|
# $(TEX) -shell-escape $<
|
|
|
|
figures/%.pdf: figures/%.py
|
|
$(PYTHON) $<
|
|
|
|
pdf: $(TEXFILE) figures/kernels.pdf figures/mlfmm.pdf figures/cpu_matvec.pdf
|
|
$(PYTHON) figures/plots.py
|
|
$(TEX) -shell-escape $<
|
|
$(TEX) -shell-escape $<
|
|
|
|
submission: pdf
|
|
zip -r cem17.zip main.pdf figures/kernels.pdf figures/mlfmm.pdf figures/cpu_matvec.pdf
|
|
|
|
clean:
|
|
rm -f \
|
|
cem17.zip \
|
|
$(TEXFILE:.tex=.pdf) \
|
|
$(TEXFILE:.tex=.aux) \
|
|
$(TEXFILE:.tex=.log) \
|
|
$(TEXFILE:.tex=.toc) \
|
|
figures/kernels.pdf \
|
|
figures/kernels.png \
|
|
figures/mlfmm.pdf \
|
|
figures/mlfmm.png \
|
|
figures/cpu_matvec.pdf \
|
|
figures/cpu_matvec.png \
|
|
texput.log \
|
|
main.pyg
|
|
rm -rf \
|
|
_minted-$(PROJ)
|