Re: Make dependency on a directory without regards to timestamp

Doug <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <[email protected]>
On Aug 29, 2:05 am, Henrik Carlqvist <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.