help-make
[Top][All Lists]
Advanced

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

Re: Filtering out based on substrings


From: Sébastien Hinderer
Subject: Re: Filtering out based on substrings
Date: Fri, 8 Sep 2023 11:50:01 +0200

Paul Smith (2023/09/05 11:43 -0400):
> You can't use filter-out for this as you discovered.  But you can use a
> loop and findstring with if, like this:
>
>     $(foreach F,$(FILES),$(if $(findstring /bytecode/,$F),,$F))

That works very well indeed! Thanks!

Sébastien.



reply via email to

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