all : Foreign ex1.html
IDLDIR = ../W3C
%.html :: %.hs
runghc $< >temp.js
simplepg -T "Test of DOM/WB - $<" -e temp.js --onload='javascript:main()' > $@
Foreign::
rm -rf Foreign
idlconv -I $(IDLDIR) all.idl > idl.hs_nosplit
modsplit idl.hs_nosplit
clean:
rm -rf Foreign idl.hs_nosplit temp.js *~