Makefile 779 B

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