This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
reduce compilation cost for changing a bit in headers
- From: Alireza Haghdoost <haghdoost at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 1 Dec 2011 12:12:24 -0600
- Subject: reduce compilation cost for changing a bit in headers
Hi
When ever I change a .h file, I have to make clean and recompile whole
project. However only one object file need recompilation. Is there any
way to make this process more efficient ? I mean is there any way that
it find a change in a header file and only recompile it's depended
object files ?
Alireza