Re: Filtering out based on substrings

Sébastien Hinderer <[email protected]>
Newsgroups gmane.comp.gnu.make.general
Message-ID <ZPruSbVE1AGrlhe/@jnana>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.