compiling simple cube demo

I got the cube demo and makefile off of this website. I tried to compile, but get this error:
gcc -Wall -I/usr/X11R6/include/ -o cube -L/usr/X11R6/lib cube.o -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm
/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make: *** [cube] Error 1

How do I resolve this -lglut problem?

you need to install glut …
the package is available in every linux distro.