17 lines
370 B
Makefile
17 lines
370 B
Makefile
|
NAME = slides
|
||
|
TEX = $(NAME).tex
|
||
|
SRC = $(TEX)
|
||
|
PDF = $(TEX:.tex=.pdf)
|
||
|
# FLAGS = -shell-escape # pour minted
|
||
|
|
||
|
all: $(PDF)
|
||
|
|
||
|
$(PDF): $(SRC)
|
||
|
@pdflatex $(FLAGS) $(TEX)
|
||
|
pdflatex $(FLAGS) $(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
|