From: jae AT Laden1 DOT sun DOT soe DOT clarkson DOT edu (Juergen Erhard) Subject: Re: Sample Makefile To: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP Mailing List) Date: Mon, 8 Jan 1996 17:58:41 +0100 (MET) Ed. Mueller wrote > > %.d : %.cpp > command /c $(CC) -MM $< | sed "s/$*.o/& $@/g" > $@ You don't need the sed part when you do -MMD 'stead of -MM... BUT gcc 2.6.3 seems to barf on X.cpp (2.7.0 gets it, though) gcc 2.6.3 needs *.cc files... and because gdb doesn't understand *.cpp files as source files, I switched (yep, Eli, if you read this, I succumbed) ciao... -- Juergen A. Erhard eMail: jae AT laden DOT ilk DOT de snailMail: Juergen Erhard Belfortstr. 6 76133 Karlsruhe GERMANY phone: (+49) (0)721/27326