BROWSER=amaya
QMATH=../qmath

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

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

all: compile view

clean:
	rm *.html
	rm *.png
