latexandmore/MatheC4/Makefile

23 lines
368 B
Makefile
Raw Permalink Normal View History

2017-02-23 12:44:44 +01:00
PDF = MaC4Cheatsheet
2017-10-05 14:04:37 +02:00
all: $(PDF)
2017-10-05 14:04:37 +02:00
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
2017-10-05 14:04:37 +02:00
distclean:
latexmk -C -f $(PDF).tex
2017-10-05 14:04:37 +02:00
rm -f $(PDF).pdf
.PHONY: all clean distclean $(PDF) continuous