cpkg2c: cpkg2c.mll ocamllex $< $(if $(shell which ocamlopt),ocamlopt -o $@ str.cmxa unix.cmxa,ocamlc -o $@ str.cma unix.cma) $@.ml @$(RM) cpkg2c.ml cpkg2c.c* cpkg2c.o