diff --git a/Makefile b/Makefile index 9c48970..4240bce 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,16 @@ SHELL=/bin/bash TARGETS = out/Paradigmen-001.pdf +FROM_FORMAT = markdown+grid_tables+raw_tex+table_captions + all: $(TARGETS) %.pdf: %.md - pandoc --pdf-engine=xelatex -o $@ $< + pandoc --from $(FROM_FORMAT) --pdf-engine=xelatex -o $@ $< out/%.pdf: %.md - pandoc --pdf-engine=xelatex -o $@ $< + pandoc --from $(FROM_FORMAT) --pdf-engine=xelatex -o $@ $< + +clean: + rm -f $(TARGETS) +.PHONY: clean