[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: |
Wed, 5 Oct 2005 20:43:43 +0200 |
User-agent: |
KMail/1.8 |
Hi,
thanks for that hint, but:
> > LIST := abc.c # a plain C file
> > LIST += def.cl # will be checked with LINT
> > LIST += ghi.cm # file will be specially tested
> > LIST += jkl.cr # file needs to be reviewed
> > LIST += mno.clmr # all the above
> >
> > LIST_C = $(filter_for_c $(LIST))
> > LIST_L = $(filter_for_l $(LIST))
>
> You could define LIST_C and LIST_L like this:
>
> LIST_C = $(filter %.c,$(LIST))
> LIST_L = $(filter %.l,$(LIST))
This does not work for me, %.c seems to only match a file name
that ends with a single "c". I'd like to also match "cl".
Best regards,
Torsten.