| 1 |
(***********************************************************************) |
| 2 |
(* *) |
| 3 |
(* ocamlbuild *) |
| 4 |
(* *) |
| 5 |
(* Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *) |
| 6 |
(* *) |
| 7 |
(* Copyright 2007 Institut National de Recherche en Informatique et *) |
| 8 |
(* en Automatique. All rights reserved. This file is distributed *) |
| 9 |
(* under the terms of the GNU Library General Public License, with *) |
| 10 |
(* the special exception on linking described in file ../LICENSE. *) |
| 11 |
(* *) |
| 12 |
(***********************************************************************) |
| 13 |
|
| 14 |
open Ocamlbuild_plugin;; |
| 15 |
dispatch begin function |
| 16 |
| After_rules -> |
| 17 |
use_lib "main" "bbcc"; |
| 18 |
dep ["ocaml"; "link"; "byte"; "my_cool_plugin"] ["cool_plugin.cmo"]; |
| 19 |
| _ -> () |
| 20 |
end |