help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "attributes" for source files?


From: Torsten Mohr
Subject: Re: "attributes" for source files?
Date: Wed, 5 Oct 2005 20:42:11 +0200
User-agent: KMail/1.8

Hi,

> I suggest you check out $(filter ) and $(filter-out ) built-in functions
> in the GNU make manual.

thanks for the hint.  I know of these functions, but i can't use them
here:

LL := a.c b.cs c.ls

L_C := $(filter %.c,$(LL))

all:
        echo $(L_C)

The Makefile above shows "a.c", but not "b.cs".  If i use the pattern
"%.%c%", i don't get any output.  I'd like to get the files whose
ending _contains_ a "c".


Do you have another hint?


Best regards,
Torsten.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]