Compute each Makefile variable immediately

Otherwise the variables get re-computed over and over again every time
they are used, slowing things up.  Especially if someone adapts the
Makefile to several targets in their own real project. :)

Note that this pull request might create problems if users are going to
use this Makefile with old proprietary versions of "make" that do not
support the := immediate-assignment syntax.