Date: Tue, 4 Mar 1997 13:23:21 +0200 (IST) From: Eli Zaretskii To: "John M. Aldrich" cc: djgpp AT delorie DOT com, "Vyacheslav O. Myskin" Subject: Re: Another makefile question In-Reply-To: <331B8C81.5933@cs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 3 Mar 1997, John M. Aldrich wrote: > Eli Zaretskii wrote: > > > > > 1) Add -MD to the list of compiler options. This causes gcc to produce > > > a .d file for each source file automatically. > > > > -MD doesn't prevent compilation like -M does, which makes dependency > > generation slower. If at all (see below), I suggest using -MMD rather > > Umm... '-MD' doesn't prevent compilation either last I noticed. I use > it all the time as part of my standard compiler flags in makefiles and > have never seen any kind of slowdown. Is there something I missed? That's what I said: it does *NOT* prevent compilation. -MM does prevent compilation, so only cpp runs, so it's faster.