On the makefile version of the problem

Would like to ask you,
A definition in makfile
ifeq "" "$(PLATFORM_VERSION)"
PLATFORM_VERSION := 2.3.1
endif
Such a thing,
How to split 2.3.1, and assigned to the 3 variables.

Started by Abigail at December 15, 2016 - 11:56 PM

Not familiar with Makefile, check the function, you can try this
$(word <n>,<text> )
Name: take the word function-word.
Function: String<text>In section<n>A word. (from the beginning)
Return: return the string<text>In section<n>A word. If<n>Ratio<text>The number of words should be large, then return
The empty string

Posted by Len at December 30, 2016 - 12:22 AM