Delegate most of the logic to a "common" GNUmakefile, with each system-specific GNUmakefile only setting a handful of necessary variables. Signed-off-by: Dan Cross <patchdev@fat-dragon.org>