Makefile 569 B

123456789101112131415161718192021
  1. FIGURES=figures/intra-copy.pdf figures/opencl-setup.pdf figures/transf.pdf figures/latency-michele.pdf
  2. .PHONY: clean figures
  3. all: paper.pdf
  4. paper.pdf: paper.tex literature.bib $(FIGURES)
  5. @pdflatex $<
  6. @bibtex paper.aux
  7. figures/intra-copy.pdf:
  8. @cd data && python intra-copy.py ../figures/intra-copy.pdf
  9. figures/latency-michele.pdf: data/latency-michele-in-us.txt
  10. @cd data && python latency-hist.py && cp latency-michele.pdf ../figures
  11. figures/%.pdf: figures/%.svg
  12. @inkscape --export-pdf=$@ $<
  13. clean:
  14. @rm -f paper.pdf *.aux *.log *.bbl *.blg *.toc $(FIGURES)