Add a global rule files * this will be included by other makefiles * add required machinery to support cross-compiling with mingw32.