To specify link order, use the Link Order page of the CodeWarrior IDE's Project window. (For certain targets, the name of this page is Segments .)
Regardless of the order that the Link Order page specifies, the The linker always processes source code files before it processes relocatable ( .o ) files or archive ( .a ) files. This policy means that the linker prefers using a symbol definition from a source file rather than a library file definition for the same symbol.
There is an exception, however: if the source file defines a weak symbol, the linker uses a global-symbol definition from a library. Use #pragma overload to create weak symbols.
Well-constructed projects usually do not have strong link-order dependencies.
The linker ignores executable files of the project. You may find it convenient to keep the executable files in the project folder so that you can disassemble it. If a build is successful, a check mark disappears in the touch column on the left side of the project window. The check mark indicates that the new file in the project is out of date. If a build is unsuccessful, the IDE will not be able to find the executable file and it stops the build with an appropriate message.