TARGETS = index.html formats.html html5recoil.html news.html contact.html privacy.html recoil.js

all: $(TARGETS)

%.html: %.xml www.xsl ../formats.xml
	xsltproc www.xsl $< | xmllint --schema /etc/xml/xhtml5.xsd --nonet -o $@ -

recoil.js: ../recoil.ci ../atari8.fnt ../altirrapal.pal ../c16.pal ../c64.fnt ../zx81.fnt
	cito -o $@ -l js-ta -I .. $<

clean:
	$(RM) $(TARGETS)

.PHONY: all clean

.DELETE_ON_ERROR:
