[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wildcard all the .cc file in the subdirectories?
From: |
Eli Zaretskii |
Subject: |
Re: wildcard all the .cc file in the subdirectories? |
Date: |
Thu, 27 Sep 2007 16:00:50 +0200 |
> From: "Dave Korn" <address@hidden>
> Date: Thu, 27 Sep 2007 13:25:57 +0100
> Cc:
>
> > Suppose I have a root directory, whose subdirectories could also
> > subdirectories, etc. I want to wildcard all the .cc in the root
> > directory, which shall give me all the path of all the .cc files.
> > Would you please let me know how to do it?
>
> Is this what you're looking for?
>
> DIR:=/path/to/whereever
> CC_FILES_IN_ROOT:=$(wildcard $(DIR)/*.cc)
No, I think he wants the files in subdirectories as well, and then in
subdirectories of those subdirectories, etc., recursively.