[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wildcard recursive?!
From: |
Paul D. Smith |
Subject: |
Re: wildcard recursive?! |
Date: |
Fri, 17 Oct 2003 18:31:17 -0400 |
%% "Sylvain Becker" <address@hidden> writes:
sb> I am looking for something like :
sb> FILES = $(shell find . -name "*.c")
sb> but without calling the shell, because it seems not to work on
sb> solaris.
It must work. If it doesn't, you need to investigate that and find out
why. GNU make uses the exact same methods for invoking $(shell ...) as
for running command scripts, so if one works ...
sb> I have found "wildcard" :
sb> FILES = $(wildcard *.c)
sb> but it doesn't look into the subdirectories and sub-subdirectires
sb> is there a smart way to retrieve the name of files, including
sb> files in subdirectories with their path?
The only way is by using $(shell ...). There is no capability
for this built into GNU make.
--
-------------------------------------------------------------------------------
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
- Re: exception to Paul's Second Rule?, (continued)
- Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/16
- Re: exception to Paul's Second Rule?, Paul D. Smith, 2003/10/16
- Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/16
- Re: exception to Paul's Second Rule?, Paul D. Smith, 2003/10/16
- Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/17
- wildcard recursive?!, Sylvain Becker, 2003/10/17
- Re: wildcard recursive?!,
Paul D. Smith <=
- Re: wildcard recursive?!, Dan Kegel, 2003/10/17
- RE: wildcard recursive?!, Sylvain Becker, 2003/10/17
- RE: wildcard recursive?!, Paul D. Smith, 2003/10/17
- RE: wildcard recursive?!, Sylvain Becker, 2003/10/17
- RE: wildcard recursive?!, Paul D. Smith, 2003/10/17
- Re: wildcard recursive?!, Noel Yap, 2003/10/17
Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/16