2016-07-18 12:50:28 +02:00
|
|
|
TEX=report
|
2016-07-19 11:50:11 +02:00
|
|
|
|
|
|
|
DOTFIGURES=coffeemachine.game.tex coffeemachine.strat.tex
|
|
|
|
|
|
|
|
###################################################
|
|
|
|
|
|
|
|
DOTFIGURES_PATH=$(patsubst %,_build/dot/%,$(DOTFIGURES))
|
|
|
|
|
|
|
|
all: $(TEX).tex $(DOTFIGURES_PATH)
|
2016-07-18 12:50:28 +02:00
|
|
|
pdflatex $(TEX)
|
|
|
|
bibtex $(TEX)
|
2016-07-11 17:42:34 +02:00
|
|
|
pdflatex $(TEX)
|
|
|
|
pdflatex $(TEX)
|
|
|
|
|
2016-07-19 11:50:11 +02:00
|
|
|
_build:
|
|
|
|
mkdir -p _build
|
|
|
|
mkdir -p _build/dot
|
|
|
|
|
|
|
|
_build/dot/%.tex: dot/%.dot _build
|
|
|
|
cat $< | dot2tex -ftikz --codeonly > $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf _build
|
|
|
|
rm -f *.aux *.bbl *.blg *.log *.out *.pdf *.toc
|
2016-07-11 17:42:34 +02:00
|
|
|
|