compile multiple source files to a dest directory.