On Thu, Apr 29, 2010 at 09:12:05AM -0400, Mike Shal wrote: > On 4/29/10, Payal <[email protected]> wrote: > > Hello, > > Need some help in understaning below, please. > > > > 1. cat Makefile > > .PHONY : all > > ifndef $(one) > > one := 1 > ^^^^^^^ > Do you have a tab here? I think make is putting the "one := 1" line as
That was indeed a TAB. I have removed it. Now working fine. > use 'ifndef one' instead of 'ifndef $(one)' - the form you're using > will be true if the value of $(one) isn't defined. I was/am bit confused here. When to use var and when $(var) with ifdef ... ? Thanks a lot all of you. With warm regards, -Payal -- _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
