Hello,
It is not relevant for many people, but there is something unexpected.
The "Compile single file" with makefile does not work.
To repreat the bug you have to create a HelloWorld project and apply this makefile.
main.o: main.c
mingw32-gcc.exe -Wall -O2 -c main.c -o main.o
HelloWorld.exe: main.o
mingw32-g++.exe -o HelloWorld.exe main.o -s
Then right click on file (main.c) to build this file. Codeblocks does not run makefile but run default compiler settings.
I discovered it when I was trying to implement another compiler in codeblocks. I am using codeblocks with PowerPC EABI compiler. I hope to share my compiller settings in the future, when I finished it.