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:[EMAIL PROTECTED]
Sent: Friday, October 17, 2003 3:23 PM
To: Sylvain Becker
Cc: [EMAIL PROTECTED]
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



_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to