make doesn't always reread included makefiles

2003-02-11 Thread Paul Franklin
Under certain circumstances, make fails to notice that one or more included makefiles have changed and does not restart and reread makefiles. Here's the best I could do at minimizing this... $ make --version GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i686-pc-linux-

Guidelines for generating files into the source dir

2003-02-11 Thread Niels Möller
For a long time, using $(srcdir) in targets and prerequisites in Makefiles have seemed a little magic to me. It breaks too often, usually in ways like automatic dependency generation not working. So I've tried to create a small toy project, and a testscript that builds the projects in various ways

Re: Guidelines for generating files into the source dir

2003-02-11 Thread Niels Möller
I wrote: > For a long time, using $(srcdir) in targets and prerequisites in > Makefiles have seemed a little magic to me. It breaks too often, > usually in ways like automatic dependency generation not working. Ooops, I sent this mail too early, before getting to the conclusion. Anyway, I think m

Re: make doesn't always reread included makefiles

2003-02-11 Thread Paul D. Smith
%% Paul Franklin <[EMAIL PROTECTED]> writes: pf> Under certain circumstances, make fails to notice that one or more pf> included makefiles have changed and does not restart and reread pf> makefiles. This is a complex problem. Here is what happens: First, make tries to rebuild Make.b (it g

problem with make

2003-02-11 Thread Dusan Turk
Dear developers, I am running into strange kind of a problem with "make" on $ make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for i386-redhat-linux-gnu Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000  Free Software Foundation, Inc. This is free