Makefile (1693B)
1 LATEXMK = env max_print_line=1000 texfot --no-stderr --quiet latexmk 2 3 FLAGS = \ 4 -8bit \ 5 -interaction=nonstopmode \ 6 -output-directory=build \ 7 -pdf \ 8 -bibtex \ 9 -shell-escape 10 11 NAME = iccsa-19-vtestbed 12 SLIDES = iccsa-19-vtestbed-slides 13 14 all: build/$(NAME).pdf 15 all: build/$(SLIDES).pdf 16 17 build/$(NAME).pdf: build/aurora.eps 18 build/$(NAME).pdf: build/micw.eps 19 build/$(NAME).pdf: build/openmp.eps 20 build/$(NAME).pdf: build/histogram.eps 21 build/$(NAME).pdf: main.tex 22 @echo " LATEX $<" 23 @-$(LATEXMK) $(FLAGS) -f $< 24 25 build/$(SLIDES).pdf: build/openmp-slides.eps 26 build/$(SLIDES).pdf: build/histogram-slides.eps 27 build/$(SLIDES).pdf: build/roll.eps 28 build/$(SLIDES).pdf: slides.tex 29 @echo " LATEX $<" 30 @-$(LATEXMK) $(FLAGS) -xelatex -f $< 31 32 build/%.vsl.svg: data/%.vsl.gnuplot 33 gnuplot -d -c gnuplot/vessel.gnuplot $< $@ 34 35 build/openmp.svg: build/*.openmp.dat gnuplot/openmp.gnuplot gnuplot/style.gnuplot 36 gnuplot -d ./gnuplot/openmp.gnuplot 37 38 build/histogram.svg: build/*.histogram.dat gnuplot/histogram.gnuplot gnuplot/style.gnuplot 39 gnuplot -d ./gnuplot/histogram.gnuplot 40 41 build/openmp-slides.svg: build/*.openmp.dat gnuplot/openmp-slides.gnuplot gnuplot/style.gnuplot 42 gnuplot -d ./gnuplot/openmp-slides.gnuplot 43 44 build/histogram-slides.svg: build/*.histogram.dat gnuplot/histogram-slides.gnuplot gnuplot/style.gnuplot 45 gnuplot -d ./gnuplot/histogram-slides.gnuplot 46 47 build/%.eps: build/%.svg 48 inkscape -z --export-eps=$@ $< 49 50 build/aurora.eps: build/aurora.vsl.svg 51 inkscape -z --export-eps=$@ $< 52 53 build/micw.eps: build/micw.vsl.svg 54 inkscape -z --export-eps=$@ $< 55 56 build/roll.eps: graphics/roll.svg 57 inkscape -z --export-eps=$@ $< 58 59 build: 60 @mkdir -p build 61 62 clean: 63 @rm -rf build 64 65 .PHONY: build clean