help-make
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Question on ifeq ()
From
:
Bhaskar G
Subject
:
Question on ifeq ()
Date
:
Mon, 29 Aug 2005 17:29:44 +0530
Hi All,
I have a simple makefile as below. Even though the $(STATUS) value is 1 the ifeq doesnot gothrough this condition. I am using Gmake 3.80
on linux.
btc6l001$ gmake -f bg.mk
1
PASS
1 --BG
all:
$(eval STATUS := $(shell ls blahblah> nul 2>&1 ;echo $$?))
@echo $(STATUS)
ifeq ($(strip $(STATUS)),1)
@echo "FAIL"
@echo "$(STATUS) --BG1"
else
@echo "PASS"
@echo "$(STATUS) --BG"
endif
Thanks & Regards,
Bhaskar G
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Question on ifeq ()
,
Bhaskar G
<=
Re: Question on ifeq ()
,
Paul D. Smith
,
2005/08/29
Adding new prerequisites to a target
,
Bhaskar G
,
2005/08/30
Re: Adding new prerequisites to a target
,
John Graham-Cumming
,
2005/08/30
Re: Adding new prerequisites to a target
,
Paul D. Smith
,
2005/08/30
Re: Question on ifeq ()
,
John Graham-Cumming
,
2005/08/30
Prev by Date:
Re: Recursive use of make
Next by Date:
Re: Recursive use of make
Previous by thread:
Recursive use of make
Next by thread:
Re: Question on ifeq ()
Index(es):
Date
Thread