On Wed, 2007-06-27 at 12:13 +0200, Jacques Klein wrote:
> First, I added the $(eval $(warning ....)) stuf just to convince
> myseft about how $$ is "evaluated", and for that mater, like you say,
> the outer $(eval is just a "no-op", ( it's my way-of-doing to debug
> $(eval stufffff). i.e check for correctness of first and second
> expansion rounds).

The best way to debug eval is to REPLACE the eval with warning (or info,
in GNU make 3.81), not add it internally.  IOW, change this:

        $(eval ...some complex content...)

to this:

        $(info ...some complex content...)

will show you exactly what eval will evaluate.  Doing this:

        $(eval $(info ...some complex content...))

is not really that useful (although I guess it doesn't hurt).

-- 
-------------------------------------------------------------------------------
 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


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

Reply via email to