Re: reduce compilation cost for changing a bit in headers

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

 



On 12/01/2011 12:54 PM, Jonathan Wakely wrote:
On 1 December 2011 18:43, Alireza Haghdoost wrote:
I am using simple Makefile without dep ... I am wondering if make
understand change in header files if I write dependency in Makefile ?

Yes, that's one of make's main purposes.

In addition, you can use ccache as a wrapper for gcc, to avoid actually compiling code that didn't change even if the source files were touched.

--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming@xxxxxxxxxx | SIP: kpfleming@xxxxxxxxxx | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org


[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