-char *build_module(struct manifest *m, bool keep, char **errstr);
-char *build_submodule(struct manifest *m);
+char *build_module(struct manifest *m, bool keep, enum compile_type ctype,
+ char **errstr);
+char *build_submodule(struct manifest *m, const char *flags,
+ enum compile_type ctype);
+void build_objects(struct manifest *m,
+ bool keep, struct score *score, const char *flags,
+ enum compile_type ctype);