MB4 212a: Adding a Wall to Halachically Enclose an Already Enclosed Large Yard (358:5-7)

If a yard  is enclosed but wasn't enclosed for dwelling purposes (מוקף לשם דירה) how do you make it "enclosed" for the purposes of carrying on Shabbos?