<div dir="ltr">Also,when you say the next iteration, is this something that is going to happen at an unknown time in the future whenever you happen to touch it again, or are you working on another iteration now?</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 24, 2015 at 4:25 PM Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">To be clear, I would like this Makefile to turn into the following:<div><br></div><div><div>LEVEL = ../../../make</div><div><br></div><div>CXX_SOURCES = main.cpp length.cpp</div></div><div><br></div><div>DEBUG_INFO_FULL = True</div><div>DEBUG_INFO_LIMITED = True</div><div><br></div><div>And that's it.  You shouldn't need anything else.  Whatever needs to happen in Makefile.rules to make this work should be done.</div><div><br></div><div>By default, DEBUG_INFO_FULL should be True and DEBUG_INFO_LIMITED should be false.  This will allow all other makefiles that don't care about the debug info to work as they normally do.  If neither variable is True, it won't use -g.  If only DEBUG_INFO_FULL is True, it will build one target and use -fno-limit-debug-info.  If only DEBUG_INFO_LIMITED is true, it will build one target and use -flimit-debug-info.  If both are true, it will build two targets, one for each case.</div><div><br></div><div>Does this seem reasonable?</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 24, 2015 at 12:57 PM Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">zturner added a comment.<br>
<br>
I know, I've seen them in a few places myself.  But I think we should move<br>
away from that, because it's a large source of portability problems<br>
<br>
<br>
<a href="http://reviews.llvm.org/D13066" rel="noreferrer" target="_blank">http://reviews.llvm.org/D13066</a><br>
<br>
<br>
<br>
</blockquote></div></blockquote></div>