10
1
mirror of https://gitlab.com/scemama/qmcchem.git synced 2024-12-27 06:43:30 +01: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