help-make
[Top][All Lists]
Advanced

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

Re: wildcard for directory?


From: Paul Smith
Subject: Re: wildcard for directory?
Date: Wed, 9 Jun 2010 16:28:27 -0400

On Wed, 2010-06-09 at 11:32 -0500, Peng Yu wrote:
> I want to get all the directories. But $(wildcard ) only doesn't work.
> I have to use $(filter) to filter the result. Is there any better way
> in doing this?

Easy.

        DIRS := $(wildcard *.txt/.)

If you don't like the "/." at the end (it's harmless though) you can get
rid of it with $(dir $(wildcard *.txt/.))




reply via email to

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