# Builds the paper from regenerated figures and tables.
# Run `python ../analysis/make_all.py` first if the CSVs changed.
LATEX ?= pdflatex
BIBTEX ?= bibtex

opencuda-lab.pdf: opencuda-lab.tex refs.bib
	$(LATEX) -interaction=nonstopmode opencuda-lab
	-$(BIBTEX) opencuda-lab
	$(LATEX) -interaction=nonstopmode opencuda-lab
	$(LATEX) -interaction=nonstopmode opencuda-lab

clean:
	rm -f *.aux *.log *.out *.bbl *.blg *.pdf
