def _dep_msg(self, deps, endl):
    msg_single = 'with dependency {}'
    msg_many = 'with dependencies {}'
    if (not deps):
        return endl
    if (endl is None):
        endl = ''
    tpl = (msg_many if (len(deps) > 1) else msg_single)
    names = []
    for d in deps:
        if isinstance(d, dependencies.ExternalLibrary):
            name = ('-l' + d.name)
        else:
            name = d.name
        names.append(name)
    return (tpl.format(', '.join(names)) + endl)
def _dep_msg(self, deps, endl):
    msg_single = 'with dependency {}'
    msg_many = 'with dependencies {}'
    if (not deps):
        return endl
    if (endl is None):
        endl = 
    tpl = (msg_many if (len(deps) > 1) else msg_single)
    names = []
    for d in deps:
        if isinstance(d, dependencies.ExternalLibrary):
            name = ('-l' + d.name)
        else:
            name = d.name
        names.append(name)
    return (tpl.format(', '.join(names)) + endl)