Andre Poenitz a écrit :
On Wed, May 10, 2006 at 09:36:09AM +0200, Abdelrazak Younes wrote:
Asger Ottar Alstrup a écrit :
Abdelrazak Younes wrote:
But that's my point, one should not have to recompile everything
because of a single setting change that impact the compilation of a
single file.
If you know that it should only recompile a single file or two, then
just touch the object files first, and then touch the two files.
I know that but going through the entire tree touching .o and .a files
is fastidious
alias to="find . -name '*.a' -o -name '*.o' -exec touch {} \;"
to
takes twenty seconds to write and 1.6 seconds to run on a PII 233 MHz.
Big deal.
I'll try that, thanks.
(although it could be scripted) and it is wrong IMHO.
Why wrong?
Because it's the job of the build system? IMHO, your solution is a work
around the deficiencies of the build system. But hey, that's just my
opinion, I am got going to argue about the powerfulness of shell and
unix utilities :-)
Abdel.