target = misha

$(target): misha.ml
	ocamlopt $< -o $@

clean:
	-rm -f $(target)
	-rm -f *.o *.cm*

backup:
	make -C template backup
	-rm -f backup.tar.gz
	tar cf backup.tar *.c *.ml *.pl *.txt Makefile
	gzip -9 backup.tar
