10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-06-01 10:55:18 +02:00
qmcchem/ocaml/myocamlbuild.ml
2019-07-17 11:49:34 +02:00

14 lines
258 B
OCaml

open Ocamlbuild_plugin;;
dispatch begin function
| Before_rules ->
begin
end
| After_rules ->
begin
flag ["ocaml";"compile";"native";"gprof"] (S [ A "-p"]);
pdep ["link"] "linkdep" (fun param -> [param]);
end
| _ -> ()
end