switch to GNUmakefile with automated multiversion support