Torsten Mohr wrote:
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))

etc.

John.
--
John Graham-Cumming
[EMAIL PROTECTED]

Home: http://www.jgc.org/
POPFile: http://getpopfile.org/

Sign up for my Spam and Anti-spam Newsletter
at http://www.jgc.org/


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to