%% "Sylvain Becker" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>          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


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

Reply via email to