Re: Make: multiple files to GCC
Henrik Carlqvist <[email protected]>
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Organization | SunSITE.dk - Supporting Open source |
| Message-ID | <[email protected]> |
[email protected] (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: [email protected] root@localhost