all: pieuvre pieuvre: *.ml *.mll *.mly ocamlbuild -yaccflag -v -lib unix -lib str main.native ln -f -s main.native pieuvre chmod +x pieuvre main.byte: ocamlbuild -yaccflag -v main.byte byte: main.byte test: all for f in tests/*.8pus; do echo "### Testing $$f:"; ./pieuvre $$f; echo ""; done clean: ocamlbuild -clean rm -f pieuvre .PHONY: clean test