thesis: makefile and subfiles update

This commit is contained in:
Eric-Teunis de Boone 2022-08-24 17:24:49 +02:00
parent faf07ef6fd
commit 660aa56a17
10 changed files with 93 additions and 19 deletions

View file

@ -0,0 +1,20 @@
# vim:ft=make
.PHONY: all clean dist-clean
TEXENGINE ?= latexmk --pdf
SOURCES = $(wildcard *.tex)
OBJECTS = $(patsubst %.tex,%.pdf,$(SOURCES))
all: $(OBJECTS)
dist: all clean
$(OBJECTS): %.pdf: %.tex
$(TEXENGINE) $^
dist-clean: clean
@rm -vf *.pdf *.eps *.dvi *.ps
clean:
@rm -vf *.dat *.log *.out *.aux *.nav *.snm *.toc *.vrb *~ *.fls *.fdb_latexmk *-blx.bib *.bbl *.blg *.run.xml