Taints upcoming store and adds bogus conditional branches else where. Now as a separa...
[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++"; A"-cclib"; A"-rdynamic"]);;
10 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;