Commit 80f135d8 authored by Florian Walch's avatar Florian Walch

Makefile: Don't remove PDF on `make clean`.

Add `purge` target to remove all output.
parent c79bac28
FILE := main
OUT := build
latexmk:
pdf:
# Also see .latexmkrc
latexmk -outdir=$(OUT) -pdf $(FILE)
clean:
rm -rf $(filter-out $(OUT)/$(FILE).pdf, $(wildcard $(OUT)/*))
purge:
rm -rf $(OUT)
.PHONY: latexmk clean
.PHONY: latexmk clean purge
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment