First draft of toplevel build system

Following explanation from:
http://make.paulandlesley.org/multi-arch.html