www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/03/09:52:24

Date: Thu, 3 Apr 1997 17:35:58 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Orlando Andico <orly AT gibson DOT eee DOT upd DOT edu DOT ph>
cc: DJGPP List Server <djgpp AT delorie DOT com>
Subject: Re: makedepend
In-Reply-To: <Pine.SGI.3.93.970403145436.4691A-100000@gibson.eee.upd.edu.ph>
Message-ID: <Pine.SUN.3.91.970403173121.27318P-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019