Way to add GLUT and GLEW into xcode project

What are:
OpenGL is a graphics library that you can use to write 2D and 3D graphics displays and interfaces. Most of the code is cross-platform (will run on Windows, Mac, and Linux), but the different platforms do have different ways of creating new windows and monitoring user input. GLUT is a wrapper that hides the differences between platforms so you can write code that (with very minor modifications) will run on all three platforms.

The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.

To add GLUT, right-click (or control-click) on your project name under “Groups and Files”. It should be the first icon. Choose “Add > Existing Frameworks”.
For xcode 4.6.3, click your project name, and under the “Build Phases” tab, you can find “Link Binary With Libraries”.
Select “GLUT.framework” and “OpenGL.framework”, and click “Add.”
They should appear as little yellow suitcase icons in your project.
Next step, get GLEW  http://glew.sourceforge.net/, unzip it, and in terminal, typing “make install” to install GLEW into /usr/include/GL and /usr/lib.

Then add “libGLEW.dylib” into your project.