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
part of the command script for the .PHONY target, which doesn't make
sense. Just use spaces to indent these. Also, you probably meant to
use 'ifndef one' instead of 'ifndef $(one)' - the form you're using
will be true if the value of $(one) isn't defined.

-Mike


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

Reply via email to