1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
(rule
(target config_file_parser.ml)
(deps config_file_parser.ml4)
(action
(chdir
%{workspace_root}
(run %{bin:camlp4} pa_o.cmo pa_op.cmo pr_o.cmo -- -o %{target} -impl %{deps}))))
(rule
(target config_file.ml)
(deps
(:cppo config_file.cppo.ml)
config_file_parser.ml)
(action
(chdir
%{workspace_root}
(run %{bin:cppo} -V OCAML:%{ocaml_version} -o %{target} %{cppo}))))
(library
(public_name config-file)
(name config_file)
(libraries camlp-streams)
(modules Config_file))
|