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