def METHOD_NAME(directory, objFiles, gcovDaFiles):
    """
    Build separate lists for all .obj and .da files in
    "directory"
    """
    all_files = os.listdir(directory)
    for name in all_files:
        name = os.path.join(directory, name)
        #include only those files that have been compileed with
        #necessary flags
        if name.endswith(".bb") :
            objFiles.append(name)
        elif name.endswith(".da"):
            gcovDaFiles.append(name)