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.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make