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. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
