Makefile 216 Bytes
Newer Older
Florian Walch's avatar
Florian Walch committed
1 2 3
FILE := main
OUT  := build

4
pdf:
Florian Walch's avatar
Florian Walch committed
5 6
	# Also see .latexmkrc
	latexmk -outdir=$(OUT) -pdf $(FILE)
Florian Walch's avatar
Florian Walch committed
7 8

clean:
9 10 11
	rm -rf $(filter-out $(OUT)/$(FILE).pdf, $(wildcard $(OUT)/*))

purge:
Florian Walch's avatar
Florian Walch committed
12
	rm -rf $(OUT)
Florian Walch's avatar
Florian Walch committed
13

14
.PHONY: latexmk clean purge