For a detailed walkthrough, see Getting Started.
The build process uses GNU Make and works with Linux (tested in Arch Linux and Ubuntu), OS X and Cygwin 32-bit in Windows. For documentation on how to build for each platform, see the supported platform details.
When compiling you need to specify which VI platform you are compiling for with the PLATFORM flag. All other flags are optional.