tech-toolchain archive

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

Re: Built-time generated files vs. dependency



> Right.  It should be fixed.

arith.[ch] dependency should be fixed now.

> This won't help with that; it will just paper over the real problem
> (which is that the dependency information encoded in the Makefile is,
> as you say, incomplete).  I'd much prefer to fix the Makefile.

My point is by having static SRCS files build becomes more stable.  I don't
see any point to generate these files at build-time.

I'll need to build very small NetBSD userland image using crunchgen(8).  Now
it always rebuild the result because each *.cro build dependency is hidden
in its Makefiles.  If programs have static SRCS files, crunch makefile can
check those SRCS timestamp and know if it has to re-build the program or not.

Masao

-- 
Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635


Home | Main Index | Thread Index | Old Index