reduce compilation cost for changing a bit in headers

Alireza Haghdoost
Thu Dec 1 18:13:00 GMT 2011


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 ?


More information about the Gcc-help mailing list