I'm using linux mint 17.2 and have downloaded everything necessary to program in OpenGL.
When I download test program and save it in text editor as (for example) test.cpp I need to do this command in terminal to compile it:
g++ test.cpp -o proba -lglut -lGL
I wanna skip this -lglut and -lGL part so it is automatically included. How is it possible ? Can it be done in some IDE like CODEBLOCKS maybe ?