To compile basically just type "make". Have a look into the Makefile for configurable options, like watch type, Bluetooth firmware version etc.