From ef7863c0d640303a3873a0a45ae31d45c80e5fbc Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 26 Jan 2017 19:29:44 +0100 Subject: [PATCH] update makefile --- final_assignment/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.20.1