Makefiles are written by hand and the build scheme is dirty and not easy to follow. Some sources are changed for special features of windows OS and native Microsoft compilers.