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/.))
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
