build files from submodule