[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: wildcard recursive?!
From: |
Sylvain Becker |
Subject: |
RE: wildcard recursive?! |
Date: |
Fri, 17 Oct 2003 15:43:49 -0700 |
Well, in the makefile, I have tried with and without "-print", it s the
same.
echo $(C_FILE)show nothing. (and then .o are not created)
but in the shell it works:
find . -name "*.c" -print
it prints all the .c files
wierd...
-----Original Message-----
From: Dan Kegel [mailto:address@hidden
Sent: Friday, October 17, 2003 3:23 PM
To: Sylvain Becker
Cc: address@hidden
Subject: Re: wildcard recursive?!
Sylvain Becker wrote:
> I am looking for something like :
> FILES = $(shell find . -name "*.c")
>
> but without calling the shell, because it seems not to work on solaris.
You're missing the -print command. Try
FILES = $(shell find . -name "*.c" -print)
Posix find doesn't require -print, but classic find does.
- Dan
- 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, 2003/10/17
- Re: wildcard recursive?!, Dan Kegel, 2003/10/17
- RE: wildcard recursive?!,
Sylvain Becker <=
- 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
- Re: exception to Paul's Second Rule?, Robert Mecklenburg, 2003/10/16
- Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/16
- Re: exception to Paul's Second Rule?, Robert Mecklenburg, 2003/10/16
- Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/16
- Re: exception to Paul's Second Rule?, Noel Yap, 2003/10/16