make dependency rules inadequate - (nf)
utzoo!decvax!cca!ima!johnl
utzoo!decvax!cca!ima!johnl
Thu Jul 22 10:43:25 AEST 1982
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
More information about the Net.bugs
mailing list