tech-toolchain archive

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

Re: I need support with a planned POSIX make extension



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


Home | Main Index | Thread Index | Old Index