Source

ocaml-llvm-phantom / examples / OMakefile

Full commit
OCAMLINCLUDES += ../lib
OCAML_BYTE_LINK_FLAGS += -cc g++ llvm_phantom.cmo
OCAML_NATIVE_LINK_FLAGS += -cc g++ llvm_phantom.cmx
OCAMLDEPFLAGS += -I ../lib 

OCAMLPACKS[] += llvm.executionengine llvm.scalar_opts llvm.analysis

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

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