Source

ocaml-llvm-phantom / examples / OMakefile

OCAMLINCLUDES += ../lib
OCAML_BYTE_LINK_FLAGS += llvm_phantom.cmo
OCAML_NATIVE_LINK_FLAGS += llvm_phantom.cmx
OCAMLDEPFLAGS += -I ../lib 

OCamlRequire(../lib/llvm_phantom.cmo ../lib/llvm_phantom.cmx)

MyOCamlTestProgram(double, double)
MyOCamlTestProgram(double_phantom, double_phantom)
MyOCamlTestProgram(sqrt, sqrt)
MyOCamlTestProgram(pi, pi)