List Info

Thread: Re: Make dependency on a directory without regards to timestamp




Re: Make dependency on a directory without regards to timestamp
country flaguser name
United States
2007-08-30 08:27:25
On Aug 29, 2:05 am, Henrik Carlqvist
<Henrik.Carlqv...deadspam.com>
wrote:
>
> The following will avoid your problem:
>
> myfile: $(filter-out $(wildcard mydir), mydir)
>         touch mydir/myfile
>
> Above, you will onldy depend on mydir if the directory
does not exist.
>
> regards Henrik

Thanks Henrik-

That's exactly what I was looking for.

-Doug




[1]

about | contact  Other archives ( Real Estate discussion Medical topics )