Xref: news2.mv.net comp.os.msdos.djgpp:6946 From: Ian Miller Newsgroups: comp.os.msdos.djgpp Subject: Re: make automatic dependency generation Date: Thu, 08 Aug 1996 08:33:12 +0100 Organization: DRA HASN Lines: 23 Message-ID: <32099838.41C67EA6@dra.hmg.gb> References: <3205D74D DOT 2781E494 AT dra DOT hmg DOT gb> <320774C2 DOT 73B9 AT jk DOT uni-linz DOT ac DOT at> NNTP-Posting-Host: 146.80.115.106 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Roland Exler wrote: > > Ian Miller wrote: > > > > If you ever read the make info about automatic dependency > > generation but couldn't get it working for djgpp follow the > > example I give below. The important (and difficult) part is > > the sed expression. The rest I include for completishness. > > I've not tried where the problem in your makefile is, maybe the > command-call. Take a look at the makefile below, this one runs. It used > sed to include the .d-files in the dependencies, but I've seen this is > not neccesary for gnu-make, it automatically recognices to rebuild the > dependencies as they are included! > > Hope this helps, > Roland... Actually, there is no problem in the example I posted (it works well), I just hoped for some comments. Thanks for yours! I shall try your alternative approach later on. -- Ian Miller, DORSET, UK