|
From: | Mike Tedder |
Subject: | Re: removing a word matching a string? |
Date: | Sat, 15 Dec 2007 02:36:15 +0900 |
User-agent: | Opera Mail/9.24 (Win32) |
Mike Tedder wrote:Any suggestions from the make gurus out there?How about something like this: chomp = $(foreach a,$1,$(if $(findstring $2,$a),,$a)) The first parameter to chomp is the list to scan, the second is the pattern to match, so you could do something like $(call chomp,$(wildcard ...),build)
That seemed to do the trick. Thank you! -- - breakpoint / brainstorm
[Prev in Thread] | Current Thread | [Next in Thread] |