How to compile under Linux

How to compile c file including Gtk+OpenGL with Gtkglext? Please give me a solution. If any one can drop a mail I can provide a sample coding.
Rana

Linux questions should be directed to the Linux forum.

Are you using a makefile? Search the Linux forum, this question gets asked more than once a week. I have posted makefiles more than once answering this question.