Generate OCaml modules from source files.