opt: test.opt
test: test.ml
- $(OCAMLC) -linkpkg -o $@ $<
+ ( export OCAMLPATH=.; $(OCAMLC) -linkpkg -o $@ $< )
test.opt: test.ml
- $(OCAMLOPT) -linkpkg -o $@ $<
+ ( export OCAMLPATH=.; $(OCAMLOPT) -linkpkg -o $@ $< )
clean:
rm -f test test.opt test.cmi test.cmo text.cmx