goto setiings then compiler then toolchain excutables. Then make code blocks auto detect the compiler
for eg path C:\Users\noby\Documents\w64devkit . Then click auto-detect. Then add bin, include,lib
folders in the system enviroment variables. The make file in w64devkit is make.exe, so change file name