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. :)