Can I deduct the expenses of adding a room?

We added a library above the garage with electricity, heat, shelving. Can this be  taken as a credit or a deduction on the taxes?