|
From: | John Graham-Cumming |
Subject: | Re: "attributes" for source files? |
Date: | Wed, 05 Oct 2005 14:37:21 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
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 address@hidden Home: http://www.jgc.org/ POPFile: http://getpopfile.org/ Sign up for my Spam and Anti-spam Newsletter at http://www.jgc.org/
[Prev in Thread] | Current Thread | [Next in Thread] |