bywyd/examples/Makefile

18 lines
307 B
Makefile
Raw Normal View History

2023-12-11 16:50:16 +01:00
NAMES = cv
TEX = $(foreach i,$(NAMES),$(i).tex)
PDF = $(TEX:.tex=.pdf)
2023-12-12 09:14:27 +01:00
TEXMK = latexmk -lualatex
2023-12-11 16:50:16 +01:00
RM = rm -rf
all: $(PDF)
$(PDF): %.pdf: %.tex
$(TEXMK) $<
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc vrb
clean:
$(RM) $(PDF) \
$(foreach f,$(NAMES),$(foreach e,$(EXTS),$(f).$(e)))