diff options
Diffstat (limited to 'examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml')
-rw-r--r-- | examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml b/examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml new file mode 100644 index 0000000..b71f5d7 --- /dev/null +++ b/examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml @@ -0,0 +1,6 @@ +open Ocamlbuild_plugin;; + +ocaml_lib ~extern:true "llvm";; +ocaml_lib ~extern:true "llvm_analysis";; + +flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);; |