Paul D. Smith wrote:
> %% "James" <[EMAIL PROTECTED]> writes:
>
>   j> Is there a way to see how the actual rules look like when eval is used?
>
> Replace the eval with warning:
>
>   j> For example,
>
>   j> define F
>   j> $(1): $(2)
>   j>        @echo $$@ $$^
>   j> endef
>
>   j> $(eval $(define F,t1,d1 d2))
>
> (you mean call not define I presume?)
>
>   $(warning $(call F,t1,d1 d2))
>
> will print what eval will eval.
>
>
> If you're using one of the 3.81 betas, you can use $(info ...) instead
> of warning and get rid of the filename/linenumber stuff.
>
> --
> -------------------------------------------------------------------------------
>  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

Yes, I meant call not define.
Thanks a lot. It's very helpful.

James

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

Reply via email to