TEX=rubber -d
TEXs:=$(wildcard *.tex)
PDFs:=$(TEXs:.tex=.pdf)
INCs:=$(wildcard *.inc)

all: $(PDFs)

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

$(PDFs): $(INCs)

clean:
	-rm *.pdf *.aux *.out *.log
