Re: Handling '=' in a filename together with $(eval )
Paul Smith <[email protected]> Thu, 13 Feb 2025 10:33:40 -0500
| Newsgroups | gmane.comp.gnu.make.general |
|---|---|
| Organization | GNU's Not UNIX! |
| Message-ID | <[email protected]> |
On Thu, 2025-02-13 at 16:24 +0100, Alejandro Colomar wrote: > I'm aware of that trick. However, I think it won't work for me, > since I don't hardcode the filenames in the Makefile, but get them > with > > $(shell find ...) > > instead. You can always use subst to handle this, like: $(subst =,$$(EQ),....) Note I don't really recommend any of this. With the current limitations of make, as defined by POSIX, it's just very difficult to use filenames that contain special characters. I recommend a "just don't do it" approach :).