[Top][All Lists]
[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: |
Thu, 6 Oct 2005 23:19:06 +0200 |
User-agent: |
KMail/1.8 |
Hi,
> jg> Well you could do
>
> jg> LIST_C = $(filter %.c %.cl %.clrm,$(LIST))
Yes, of course! Great!
> Or even:
>
> LIST_C = $(filter $(addprefix %.,$(foreach S,$(suffix $(LIST)),$(if
> $(findstring c,$(S)),$(S)))),$(LIST))
>
> I think that will work. Untested though.
Also looks great, i'll test that one!
Thanks for the hints!
Best regards,
Torsten.