12 lines
160 B
Makefile
12 lines
160 B
Makefile
SRC=$(wildcard *.tex)
|
|
OBJ=$(subst .tex,.pdf,$(SRC))
|
|
|
|
pdf: $(OBJ)
|
|
|
|
%.pdf: %.tex
|
|
pdflatex $<
|
|
|
|
clean:
|
|
rm -f $(OBJ)
|
|
rm -f *.aux *.log *.toc *.snm *.out *.nav
|
|
|