Shorter and less error-prone rule for automatic prerequisite generation in the GNU Make manual

2010-04-28 Thread Robert Jørgensgaard Engdahl
riable. Best regards Robert --- Robert Jørgensgaard Engdahl Cum Laude MSc. C.S. SW-Developer, R&D Video Services & Applications Bang & Olufsen A/S Peter Bangs Vej 15 DK-7600 Struer Denmark Phone: (+45) 96 84 44 05 Internal phone: 454405 e-mail:

Re: Shorter and less error-prone rule for automatic prerequisite generation in the GNU Make manual

2010-04-28 Thread Robert Jørgensgaard Engdahl
Surely the -MMD solution with -include $(objects:.o=.d) does the trick cleaner than the method mentioned in the manual. Edward, are you rewriting the Make manual? I hope that you do include an example, besides the explanation below. You guys have been most helpful. Cheers Edward Welbourne

Re: Shorter and less error-prone rule for automatic prerequisite generation in the GNU Make manual

2010-04-29 Thread Robert Jørgensgaard Engdahl
Edward Welbourne wrote on 29-04-2010 12:59:13: > > Delete a "clean-depend" rule on sight, > > I cannot agree. > If I write a rule to make something, I also write a rule to get rid of > it. It's just basic hygiene ... > > > or rename it to the more accurate "break-future-builds". > > If you ha

Re: Shorter and less error-prone rule for automatic prerequisite generation in the GNU Make manual

2010-05-03 Thread Robert Jørgensgaard Engdahl
--- Robert Jørgensgaard Engdahl Cum Laude MSc. C.S. SW-Developer, R&D Video Services & Applications Bang & Olufsen A/S Peter Bangs Vej 15 DK-7600 Struer Denmark Phone: (+45) 96 84 44 05 Internal phone: 454405 e-mail: r...@bang-olufsen.dk Location: Factory 1 - West Philip Gue