early draft makefile to replace buildall.pl