TARGETS = $(subst md,pdf,$(shell ls *.md))

all: $(TARGETS)

%.pdf: %.md
	pandoc $< -V linkcolor:black -V geometry:a4paper -V geometry:margin=1in --listings --include-in-header=../include.tex -o $@

clean:
	rm -f *.pdf