makefiles: Generate the clean rule using the subdirs file lists.