From: utzoo!decvax!cca!ima!johnl
Newsgroups: net.bugs
Title: Re: make dependency rules inadequate - (nf)
Article-I.D.: ima.180
Posted: Thu Jul 22 10:43:25 1982
Received: Mon Jul 26 00:03:40 1982
References: uiucdcs.256

The problem stated is just wrong rules, not a make bug.  You said:

all:    a.o ...

a.c:    a.h

But a.c doesn't depend on a.h.  It's a.o that needs to be remade, not a.c,
so the right rules are:

all:    a.o ...

a.o:    a.c a.h

Unfortunately, make then has trouble figuring out how to remake a.o since
the default rule has been overridden, so you probably have to tell it.
Oh well.

	John Levine, decvax!cca!ima!johnl, harpo!esquire!ima!johnl