Re: The ultimative dependency generation

Andreas Schwab (
Mon, 9 Dec 96 11:00:01 +0100

Theodore Y Ts'o <tytso@MIT.EDU> writes:

|> From: Andreas Schwab <>
|> Date: Fri, 6 Dec 96 11:58:30 +0100

|> Here's a patch to implement the ultimative dependency generation with
|> gcc -MD. It has a number of advantages over the conventional `make
|> depend' thing:

|> But how do you get started? If you are starting from a fresh tree, and
|> you have just run Configure, there won't be any .d files there to start
|> off with.

That's no problem, since you have the implicit dependencies %.o: %.c,
which will be enough for a start (you don't have any *.o files yet).