# -*- coding: utf-8 -*- """Align Makefile c_SRC_FILES with AC701N.cbp compile units.""" from __future__ import print_function import re from pathlib import Path root = Path(__file__).resolve().parents[1] / "JBao_JL7016_MOD_FW" cbp = (root / "AC701N.cbp").read_text(encoding="utf-8") mk_path = root / "Makefile" mk = mk_path.read_text(encoding="utf-8") cbp_cs = [] for m in re.finditer(r'