[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make: multiple files to GCC
From: |
Henrik Carlqvist |
Subject: |
Re: Make: multiple files to GCC |
Date: |
Mon, 07 Aug 2006 07:48:02 +0200 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
prj@po.cwru.edu (Paul Jarc) wrote:
> The downside this way is that all four files will be recompiled even
> if only one is out of date. You should probably measure the build
> time for each of the two Makefiles, and in each situation (full
> rebuild vs. updating one file) to see which is better overall.
Another interesting thing to measure is the time when make is called with
the "-j" switch. Compiling all sources with a single call to gcc probably
means that you will lose the speed benefit of "-j".
regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc8(at)uthyres.com Examples of addresses which go to spammers:
root@variousus.net root@localhost