overexchange
overexchange

Reputation: 1

makefile - How to concatenate values using a dot?

Make variable LIST_ARGS stores 123 abc1f as two values

How to concatenate these two values as 123.abc1f and store in variable VERSION?

Upvotes: 0

Views: 87

Answers (1)

MadScientist
MadScientist

Reputation: 100856

Why not just:

VERSION = $(word 1,$(LIST_ARGS)).$(word 2,$(LIST_ARGS))

See text functions documentation.

Upvotes: 1

Related Questions