Using IUP on windows/mingw

IUP is a cross platform GUI library. Last time tried to figure out how to compile an IUP hello world program using codeblocks IDE. After some searching on internet finally managed to compile it. Here is the linker setting used.