You may want to examine the sample code in the (CodeWarrior Examples) directory of your CodeWarrior installation. Usually there's one example that uses the command-line version of the IDE and a makefile script to build a program. You'd modify the script to add your own programs. If you were talking about running a program prior to linking, the Target Settings panel lets you specifiy a program that the IDE executes before it links the object files.
---Tom