22 lines
335 B
Makefile
22 lines
335 B
Makefile
|
obj = slides.pdf
|
||
|
|
||
|
default: $(obj)
|
||
|
|
||
|
run: $(obj)
|
||
|
optirun impressive $(obj)
|
||
|
|
||
|
clean:
|
||
|
rm -f *.log *.aux *.nav *.toc *.snm *.out
|
||
|
|
||
|
distclean: clean
|
||
|
rm -f $(obj)
|
||
|
|
||
|
%.pdf: %.aux
|
||
|
xelatex --shell-escape --interaction=nonstopmode $(*F)
|
||
|
|
||
|
|
||
|
%.aux: %.tex
|
||
|
xelatex --shell-escape --interaction=nonstopmode $(*F)
|
||
|
|
||
|
.PHONY: clean distclean default run
|