Date: Thu, 3 Apr 1997 17:35:58 +0300 (IDT) From: Eli Zaretskii To: Orlando Andico cc: DJGPP List Server Subject: Re: makedepend In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 3 Apr 1997, Orlando Andico wrote: > gcc -MM *.c >>Makefile > > so as to build the dependencies. This is not extremely "user friendly." > First, how do I include a "depend" target so that dependencies are made > when you type "make depend" ? One way is described in the Make manual. Fire up "info make" and go to the section called "Automatic Dependencies". The method described there uses the -MM option, but in a way that eliminates the need to do a separate "make depend" step.