Torsten Mohr <[EMAIL PROTECTED]> writes:

> 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))

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


-boris



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

Reply via email to