help-make
[Top][All Lists]
Advanced

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

Re: Handling '=' in a filename together with $(eval )


From: Paul Smith
Subject: Re: Handling '=' in a filename together with $(eval )
Date: Thu, 13 Feb 2025 10:33:40 -0500
User-agent: Evolution 3.54.3 (by Flathub.org)

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 :).



reply via email to

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