KoolDock is based upon the work of Dang Viet Dung, KSmoothDock 2.1.
For the latest release of ksmoothdock, please visit 
http://www.kde-look.org/content/show.php?content=6585

To compile in debugmode, before making run:
$ CXXFLAGS="-D_ENABLE_DEBUG" ./configure --enable-debug=full
It's also possible to do it in KDevelop.

Normal compilation:
Run in console 
./configure
make; make install

Compilation version from SVN
make -f Makefile.cvs
./configure
make; make install

make install - it installs compiled project into tour system, to do this you must have root privilages

Warning: If you are using kooldock on gnome, without installed KDE, you should know, that's necessary to install KDEbase to have working launchers.