latexandmore/Vorlesungen/MatheC4/Makefile
2015-10-07 21:10:52 +02:00

23 lines
372 B
Makefile

PDF = MaC4Cheatsheet
all: $(PDF)
continuous: $(PDF).continuous
%.continuous: %.pdf
latexmk -jobname=$(@:%.continuous=%) -pvc -pdf $(@:%.continuous=%).tex
$(PDF): $(PDF).pdf
%.pdf: %.tex
latexmk -jobname=$(@:%.pdf=%) -pdf $<
clean:
latexmk -c -f $(PDF).tex
distclean:
latexmk -C -f $(PDF).tex
rm -f $(PDF).pdf
.PHONY: all clean distclean $(PDF) continuous