all: $(patsubst %.txt,%.html,$(wildcard *.txt))

%.html: %.txt
	markdown $< | ./template.rb > $@

clean:
	rm *.html

.PHONY: all clean
