How to compile games?

Today I've downloaded some mods... But I don't understand how to compile games that use Cube 2 Engine (Red Eclipse, Sauerbraten, Sandbox).. Anybody can help me?
Thanks in advance.
p.s. I know there's a good community here! <.<
Thanks in advance.
p.s. I know there's a good community here! <.<