code: def get_sources(src_dir='src', ending='.cpp'):
      
      return [os.path.join(src_dir, fnm) for fnm in os.listdir(src_dir) if fnm.endswith(ending)]
docs: Function to get a list of files ending with `ending` in `src_dir`.