On Fedora 20 or later you can install these using a single command (as root):
$ yum install boost-* glew-devel SDL2_* glm-devel
After cloning the source code or extracting a distributed archive, change to the directory where the source code is:
$ autoreconf -i
$ ./configure
$ make
Alternatively, if you'd like to build the project in debug mode use:
$ make CXXFLAGS=-DDEBUG
The build process should create a binary that can be executed as follows:
$ ./src/shaderexample
See
$ ./src/shaderexample --help
for usage instructions.