help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "attributes" for source files?


From: John Graham-Cumming
Subject: Re: "attributes" for source files?
Date: Wed, 05 Oct 2005 21:06:25 +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:
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".

Well you could do

LIST_C = $(filter %.c %.cl %.clrm,$(LIST))

John.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]