13 lines
160 B
Makefile
13 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
|
|
|