Article View: net.bugs
Article #37Re: make dependency rules inadequate - (nf)
From: utzoodecvaxccaimajohnl
Date: Thu, 22 Jul 1982 10:43
Date: Thu, 22 Jul 1982 10:43
18 lines
815 bytes
815 bytes
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
Technical Details
Message-ID:
<bnews.ima.180>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
uiucdcs.256Show Full Headers
Complete Article Headers
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 Subject: Re: make dependency rules inadequate - (nf) Date: Thu, 22 Jul 1982 10:43:25 +0000 Message-ID: <bnews.ima.180>