[PATCH v2 2/3] Generate makefile file lists from a script