🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #73530

Re: GNU Makefile Dependency Generator - RFI

#73530
From: Tim Parker
Date: Wed, 14 Aug 1991 21:51
27 lines
1205 bytes
paulb@mlacus.oz.au (Paul Bandler) writes:

>Could someone advise me if there is a GNU, or other public domain tool, 
>available for maintaining dependencies in makefiles by searching down
>#include paths in .c files?

>Thanks in anticipation,

>Paul Bandler
>ACUS - Australian Centre for Unisys Software


If you are using GCC, use the following for each .c file

gcc -M filename.c > filename.dep

cat the .dep files together into something sensible like Make.deps

include Make.deps into your Makefile.


----------------

Tim Parker - Independent consultant

"If God had meant for men to vote, he would have given them candidates"
	- Idaho Blackie, as told by Utah Phillips
Technical Details
Message-ID: <2378@airs.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!airs!tim
References: <1991Aug10.072529.11899@mlacus.oz.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,3004ee75f96019e1
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-08-15 03:33:57 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!airs!tim
From: tim@airs.com (Tim Parker)
Newsgroups: gnu.misc.discuss
Subject: Re: GNU Makefile Dependency Generator - RFI
Keywords: GNU MAKE DEPENDENCY
Message-ID: <2378@airs.com>
Date: 14 Aug 91 21:51:11 GMT
References: <1991Aug10.072529.11899@mlacus.oz.au>
Sender: news@airs.com
Lines: 27