[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) |
Hello,
Need some help in understaning below, please.
1. cat Makefile
.PHONY : all
ifndef $(one)
one := 1
endif
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,
-Payal
- conditional statements,
Payal <=