Date: Thu, 25 Nov 1999 10:15:27 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Leon cc: djgpp AT delorie DOT com Subject: Re: general on make info In-Reply-To: <199911250228.VAA09626@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Thu, 25 Nov 1999, Leon wrote: > but how does the make program know about possible library files? It doesn't, unless you tell it. One feature of GNU Make that helps in this matter is that you don't have to specify the full pathname of a library if that library is one of the standard ones, like libc.a. You can put "-lc" in the dependencies, and Make will know where to look for the library. GNU Make also knows about the format of the object libraries, so it can check the date of every object file inside the library.