[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please help me out in this
From: |
Greg Chicares |
Subject: |
Re: Please help me out in this |
Date: |
Wed, 17 May 2006 16:42:39 +0000 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
On 2006-5-17 12:37 UTC, Aditya Kher wrote:
> I am not sure whether this is the output you had expected but this is
> what appears after running that makefile with little modifications:
>
> 53 abhay2 > gmake -f t.make
> !!! makhdr ERROR: undefined variable: DEVDIR
Has a DEVDIR variable actually been defined?
Consider this simplified test case:
/tmp[0]$cat abhay.make
all:
ifeq ($(DEVDIR),)
@echo "!!! makhdr ERROR: undefined variable: DEVDIR"
else
@echo "DEVDIR = $(DEVDIR)"
endif
/tmp[0]$make -f abhay.make
!!! makhdr ERROR: undefined variable: DEVDIR
/tmp[0]$make -f abhay.make DEVDIR=foo
DEVDIR = foo
That's the output I would expect.