From: Mart Lubbers Date: Thu, 26 Jan 2017 18:29:44 +0000 (+0100) Subject: update makefile X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=ef7863c0d640303a3873a0a45ae31d45c80e5fbc;p=paefcais1617.git update makefile --- diff --git a/final_assignment/Makefile b/final_assignment/Makefile index 6babb94..672ad9c 100644 --- a/final_assignment/Makefile +++ b/final_assignment/Makefile @@ -5,14 +5,16 @@ BIBTEXFLAGS:= LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape TEXS:=$(filter-out preamble.tex,$(wildcard *.tex)) -PREAMBLE:=$(wildcard preamble.tex) .PHONY: all clean .SECONDARY: $(addsuffix .fmt,$(DOCS)) all: $(addsuffix .pdf,$(DOCS)) -%.fmt: %.pre +%.fmt: %.pre + $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump" + +%.fmt: preamble.tex $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump" %.pdf: %.mlog