BROWSER=amaya
QMATH=../qmath

compile:
	for f in *.qmath; do $(QMATH) -e mathml $$f >$$f.html; done

view:
	for f in *.html; do $(BROWSER) $$f; done

all: compile view

clean:
	rm *.html