On Wed, Jun 11, 2003 at 10:36:11AM -0400, Paul D. Smith wrote:
>
> This would work:
>
> install:
> cd LINUX/mod; mod2=`echo *`
Or without launching a shell:
install:mod2 := $(patsubst LINUX/%,%,$(wildcard LINUX/*))
$(wildcard LINUX/*) will list all files in the LINUX directory
%% Regarding problems with directory in make; you wrote:
jj> I'm having problems with my makefile. I want to descend into a
jj> directory and issue shell commands to extract a list of files
jj> using either `ls` or `echo` and store in a variable.
jj> Here is the command: