help-make
[Top][All Lists]
Advanced

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

use of wildcard function recursively


From: Aditya Kher
Subject: use of wildcard function recursively
Date: Thu, 16 Mar 2006 15:20:49 +0900

list,
The wild card function will give list of *.c files in the current directory

SOURCE = $(wildcard *.c)

Is there any way to use wildcard to *find recursively* under given path
e.g.

SOURCE = $(wildcard source_dir/*.c)

where the directory structrure is

source_dir
 |
+-- dir_a
 |
+-- dir_b
 |
+-- dir_c

and in all these directories, *.c files are scattered all over?

-aditya




reply via email to

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