def read_order(make_file_name, exclude=('mf6sub', 'mf6'),
               prefix='../mfsrc'):
    """Reader order of file names for compilation from Makefile.
    """
    res = []
    start = False
    exclude = ['compilerversion', 'mf6sub', 'mf6']
    with open(make_file_name) as fobj:
        for line in fobj:
            if line.startswith('OBJECTS ='):
                start = True
            if start and not line.strip():
                break
            if start and line.startswith('$(OBJDIR)'):
                name = line.split('/')[-1].split('.')[0]
                if name in exclude:
                    continue
                res.append(f'{prefix}/{name}.f90')
    return res