Add OCaml tutorial to the examples.
[oota-llvm.git] / examples / OCaml-Kaleidoscope / Chapter7 / 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"];;