Phoebe,
The buildings must be physically distinct, and have unique addresses or names among other issues according to the Minimum Program Requirements Supplemental Guidance. Specifically, #3, there is lots of information for what you propose. Here's a link: http://www.usgbc.org/ShowFile.aspx?DocumentID=9552
Good Luck!