Re-generate the Makefiles as required