Add java to the compiling process.
This commit is contained in:
parent
6c763f1eb8
commit
ed21462706
1 changed files with 2 additions and 1 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue