[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

conditional statements

From: Payal
Subject: conditional statements
Date: Thu, 29 Apr 2010 02:55:35 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

Need some help in understaning below, please.

1. cat Makefile
.PHONY : all
ifndef $(one)
        one := 1
all :
        @echo $(one)

$ make

Why does it not print 1?

2. I am unable to find a real simple example for understanding of $(if ...).
Can someone please give one?

Thanks a lot in advance.

With warm regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]