def buildMakerChain(project, out, maker, sources):
    targets = sources                

    while maker.previousMaker:
        maker = maker.previousMaker

    while maker:
        targets = buildMaker(project, out, maker, targets)
        if targets == -1:
            return -1

        maker = maker.nextMaker

    return targets
dataset/ETHPy150Open joehewitt/devon/devon/make.py/buildMakerChain/original