.PHONY: build clean

files := \
	output/index.html \
	output/notes.html \
	output/qip-template.html \
	output/qip-1.html

build: ${files}

clean:
	rm -rf output

output/index.html: index.md index.html convert.py
	@mkdir -p output
	python convert.py $< index.html > $@

output/%.html: %.md node.html convert.py
	@mkdir -p output
	python convert.py $< node.html > $@
