- With modularity, you can share your library without sharing the code.
 
- For large projects, if you change a single file, you would end up
compiling the complete project.
 
- You may run out of memory more easily when you attempt to compile large projects.
 
- You may have circular dependencies in modules, modularity helps in maintaining those.
 
There may be some gains in your approach, but for languages like C, compiling each module makes more sense.