bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #59243] Overcomplicated example of automatic dependency configurati


From: Paul D. Smith
Subject: [bug #59243] Overcomplicated example of automatic dependency configuration
Date: Fri, 9 Oct 2020 18:32:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36

Follow-up Comment #2, bug #59243 (project make):

Regarding rm: this is needed in case the .d file is not writable for some
reason.

As mentioned by Martin, the suggested replacement -MM doesn't work for all
compilers.

I do agree that this code is still too obscure.

Really this entire section should be rewritten to include the "modern" method
of dependency tracking, described here:
http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/

It does lose us our big example for the usefulness of rebuilding included
makefiles though :)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59243>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]