By splitting it up into object files and letting them be compiled in parallel. Also only rebuild the parts that changed.