Two cubes: rotate one of them keeping still the other one.

Hi,

I have drawn two cubes in my scene.

My trying to rotate one of them keeping still the other one.

How can make it?

Read example 3-4: http://www.gamedev.net/download/redbook.pdf
and while your at it read the whole book.