How do I split a string in make?
# Retrieves a host part of the given string (without port). # Param: # 1. String to parse in form ‘host[:port]’. host = $(firstword $(subst :, ,$1)) # Returns a port (if any). # If there is no port part in the string, returns the second argument # (if specified). # Param: # 1. String …