summaryrefslogtreecommitdiff
path: root/src/myocamlbuild.ml
diff options
context:
space:
mode:
authorGabriel Kerneis2014-04-23 14:58:34 +0100
committerGabriel Kerneis2014-04-23 15:00:56 +0100
commitfe28d6a93686eca649c3a8db7eb3c4b6e363e511 (patch)
tree80706ac294bd580b21a7f5f9135ec025f077517e /src/myocamlbuild.ml
parentcd0728219401bf4b7dd8d43db7927d436318fd70 (diff)
Rename main to sail, build pretty_printer lib
Diffstat (limited to 'src/myocamlbuild.ml')
-rw-r--r--src/myocamlbuild.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/myocamlbuild.ml b/src/myocamlbuild.ml
index ecd86adc..70e2b633 100644
--- a/src/myocamlbuild.ml
+++ b/src/myocamlbuild.ml
@@ -46,7 +46,7 @@ dispatch begin function
rule "sail -> lem"
~prod: "%.lem"
- ~deps: ["%.sail"; "main.native"]
+ ~deps: ["%.sail"; "sail.native"]
(fun env builder ->
let sail_opts = List.map (fun s -> A s) (
"-lem_ast" ::
@@ -54,7 +54,7 @@ dispatch begin function
split ',' (Sys.getenv "SAIL_OPTS")
with Not_found -> []) in
Seq [
- Cmd (S ([ P "./main.native"] @ sail_opts @ [P (env "%.sail")]));
+ Cmd (S ([ P "./sail.native"] @ sail_opts @ [P (env "%.sail")]));
mv (basename (env "%.lem")) (dirname (env "%.lem"))
]);