def StringToMakefileVariable(string):
 return re.sub('[^a-zA-Z0-9_]', '_', string)

def StringToMakefileVariable ( string ) : return re . sub ( '[^a-zA-Z0-9_]' , '_' , string )
convert a string to a value that is acceptable as a make variable name .