17 lines
353 B
Makefile
17 lines
353 B
Makefile
NAME = slides
|
|
TEX = $(NAME).tex
|
|
SRC = $(TEX)
|
|
PDF = $(TEX:.tex=.pdf)
|
|
|
|
TEXMK = latexmk -shell-escape -lualatex
|
|
|
|
all: $(PDF)
|
|
|
|
$(PDF): $(SRC)
|
|
@$(TEXMK) $(TEX)
|
|
$(TEXMK) $(TEX)
|
|
|
|
clean:
|
|
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \
|
|
$(NAME).toc $(NAME).fdb_latexmk $(NAME).fls $(NAME).synctex.gz \
|
|
$(NAME).nav $(NAME).snm
|