[comp.sys.sun] problem with make

ambone@imag.fr (06/05/91)

hi,

I would like to tell you about a problem with the make utilities,

We are developing a large program using UNIX 4.0.3 on a SUN SPARC station.
To manage this development, we use SCCS and MAKE utilities.
Our application is very large (around 300 files = 190,000 lines). In order to
avoid writing the included dependences in the Makefile, we use the
.KEEP_STATE macro. This macro produces a file name .make.state, this file is
used to memorise dependencies and actions that "make" must use to build
an object file.
Dependencies are obtained by using a precompiler to get the names of included
files (see documentation on make).
Because of the size of our Makefile (40 kbytes , or 1,200 lines !) the
produced file .make.state is also very large (220 kbytes or 1,200 lines).
When the application size is reasonable there are no problems.
At the integration step, the problem arises.
If an include file is modified, the files including it are not built again.
Is it because of the size of the files ? We don't know.

Has anyone else met this problem ? Do you know of a solution ?
Please reply to ambone@imag.imag.fr