maint: add cfg.mk to prepare for syntax-check tests