On Mon, Aug 8, 2011 at 7:16 PM, Stephan Beal <[email protected]>wrote:

> On Mon, Aug 8, 2011 at 6:13 PM, Ajay Jain <[email protected]> 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/
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to