ide: Fixed makefile regeneration in added project when adding files