Mail Archives: djgpp/1996/01/08/11:32:15
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
- Raw text -