Add java to the compiling process.

This commit is contained in:
Léonard Gérard 2011-01-11 14:27:29 +01:00
parent 6c763f1eb8
commit ed21462706

View file

@ -15,7 +15,7 @@ open Misc
(** Definition of a target. A target starts either from
dataflow code (ie Minils) or sequential code (ie Obc),
with or without static parameters*)
with or without static parameters *)
type target =
| Obc of (Obc.program -> unit)
| Obc_no_params of (Obc.program -> unit)
@ -39,6 +39,7 @@ let write_obc_file p =
comment "Generation of Obc code"
let targets = [ "c", Obc_no_params Cmain.program;
"java", Obc_no_params Java_main.program;
"obc", Obc write_obc_file;
"obc_np", Obc_no_params write_obc_file;
"epo", Minils write_object_file ]