Regen makefiles