llvm-6502/examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml

7 lines
152 B
OCaml
Raw Normal View History

open Ocamlbuild_plugin;;
ocaml_lib ~extern:true "llvm";;
ocaml_lib ~extern:true "llvm_analysis";;
flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"]);;