help-make
[Top][All Lists]
Advanced

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

Re: Implement Check on Input Values


From: Stephan Beal
Subject: Re: Implement Check on Input Values
Date: Mon, 8 Aug 2011 19:19:23 +0200

On Mon, Aug 8, 2011 at 7:16 PM, Stephan Beal <address@hidden>wrote:

> On Mon, Aug 8, 2011 at 6:13 PM, Ajay Jain <address@hidden> wrote:
>
>> 1) Check to make sure that WORK_DIR is not NULL
>>
> 2) Check to make sure that WORK_DIR exists
>>
>
BTW: since (2) implies (1), you can probably compound both (1) and (2) into:


> ifeq (1,$(words $(wildcard $(WORK_DIR)))
> ...
> endif
>

though to be honest i've got no idea how $(wildcard) reacts if WORK_DIR is
empty.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/


reply via email to

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