Makefile 239 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PDFLATEX ?= pdflatex
.PHONY: all clean clean-pdf

TEXSRC=$(wildcard *.tex)
TEXPDF=$(patsubst %.tex,%.pdf,$(TEXSRC))

%.pdf: %.tex
	$(PDFLATEX) $<

all: $(TEXPDF)

clean-pdf: 
	rm -f *.pdf *.log *.aux *.fdb_latexmk *.fls

clean: clean-pdf