ff42664c43ba3524a9d9bf1c21261741bee23ac2
[oota-llvm.git] / examples / OCaml-Kaleidoscope / Chapter6 / myocamlbuild.ml
1 open Ocamlbuild_plugin;;
2
3 ocaml_lib ~extern:true "llvm";;
4 ocaml_lib ~extern:true "llvm_analysis";;
5 ocaml_lib ~extern:true "llvm_executionengine";;
6 ocaml_lib ~extern:true "llvm_target";;
7 ocaml_lib ~extern:true "llvm_scalar_opts";;
8
9 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;
10 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;