MinGW makefiles
MinGW port; a lot of compiler warnings fixed