In the project options, I had to change the compiler setting by adding directly -o obj/Debug/main.o
By doing so, the Release target won't work. This is most probably a problem with CodeBlocks instead of SDCC.

SDCC: 2.8.0
CodeBlocks: 8.0.2
