Re: reduce compilation cost for changing a bit in headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alireza Haghdoost <haghdoost@xxxxxxxxx> writes:

> 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 ?

Use a Makefile and write proper dependencies?

If you use automake it will handle the dependencies for you.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux