12 lines
187 B
Makefile
12 lines
187 B
Makefile
SRCS=$(shell find examples -type f -name "*.tex")
|
|
PDFS=$(shell echo $(SRCS:.tex=.pdf) | sed -e "s/examples\\///g")
|
|
|
|
%.pdf: examples/%.tex
|
|
latexmk $<
|
|
|
|
all: $(PDFS)
|
|
|
|
clean:
|
|
rm -rf build
|
|
|