sorry, I meant getting this unexpected behavior.

2011/2/28 gaoyong pan <[email protected]>:
> I don't define variable B for below makefile, but it always gets
> printed and eval'ed with below outputs, why I got this expected
> behavior?
>
> B is defined
> template demo
>
> ===============
> A := helloA
> define change
>  ifdef B
>    $(info B is defined)
>  endif
> endef
> $(eval $(change))
> default:
>  $(info template demo)
> --
> Best Regards
> Linux user #384184
> @ http://counter.li.org/
>



-- 
Best Regards
Linux user #384184
@ http://counter.li.org/

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

Reply via email to