Out.htm: main.exe echo '
' >$@
	mono $< >> $@ 2>log

main.exe:main.cs matlib.dll
	mcs $< -reference:$(lastword $^)

DIR=$(HOME)/public_html/prog/matlib
SRC=$(DIR)/integration/quado8.cs
matlib.dll: $(SRC)
	mcs $^ -target:library -out:$@

clean:
	rm -f Out.htm main.exe matlib.dll log