On Fri, 14 Dec 2007 18:34:39 +0900, John Graham-Cumming <[EMAIL PROTECTED]> wrote:

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


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

Reply via email to