Use common variables in Makefile for version, revision, and stock build number

This puts all the version-related variables at the top of `Makefile`, so only one place needs to be changed every release.