How can I switch off smart linking?

Add + after the object in the NAMES list of the prm file.

When using CodeWarrior tools and the ELF/DWARF object-file format (see -F (-Fh, -F1, -F1o, -F2, -F2o,-F6, or -F7): Object-File Format) compiler option, you can link everything in the object within an ENTRIES...END directive in the linker prm file:

ENTRIES fibo.o:* END

This is NOT supported in the HIWARE object-file format.