Linking shaders inside code::blocks

Hello all,

To use new shader .frag or .vert files, how do I best create these and link them to the project inside Code::Blocks? Do I create an empty file and create ‘shader.frag’ in the main folder? Whenever I try this and try to link it in the main .cpp file, it can’t find it. It can only find it inside the bin/data folder path. Is this the only way to do it? Seems a little clumsy.

Any help would be appreciated.