%% Barry Kelly <[EMAIL PROTECTED]> writes:

  bk> To debug these complex makefiles, I need to see the expanded value of
  bk> variables after $(call) has been used, to verify that $(eval) is in
  bk> fact evaluating the correct string.

  bk> The problem is that $(shell echo $(your_var_here) >> debug.txt)  fails
  bk> if $(your_var_here) contains newlines, which it usually will if it's
  bk> designed to be $(eval)'d.

We typically recommend people use the $(warning) function to debug call
and eval.  It can't write to a separate file as you're doing here, but
it's the most reliable way to manage this.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to