help-make
[Top][All Lists]
Advanced

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

Re: Getting a list of all source files in a tree


From: Paul D. Smith
Subject: Re: Getting a list of all source files in a tree
Date: Thu, 11 Aug 2005 17:07:44 -0400

%% "Angel Tsankov" <address@hidden> writes:

  at> Is it possible to get a list of all cpp files in a folder (including 
  at> subfolders) using wildcard functions only?

Not really.

You can fake it like this:

    $(wildcard *.cpp */*.cpp */*/*.cpp)

etc. but there's no generic way to recurse using wildcard.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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