Re: I need support with a planned POSIX make extension

Roland Illig <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Am 09.07.2021 um 17:43 schrieb (Joerg Schilling):
> In order to have at least the choice of an orthogonal way of doing what
> people expect, I defined and implemented two new operators:
>
> 	:::=	Assigns to a make macro by first expanding the right
> 		side of the assignment, but without creating a different
> 		type of make macro.

I would not be willing to implement this operator in NetBSD make since
it would only be an alternative spelling for ':=', and I don't see any
value in that.

> 	+:=	Appends to a make macro by first expanding the right
> 		side of the assignment, regardless of the type of the
> 		make macro that is to the left.

I never really missed this operator.  What are your use cases for it?

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
neither mentions the operator '+=' nor the operator ':=', so why do you
think the combination of these two operators should be standardized?

Roland
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.