Thanks you for sharing the makefile.
How you generated make file from code warrior IDE, Can you please mention steps or any document is there. i have installed CODE WARRIOR IDE version 5.9 and have valid code warrior licence. can we feed all the .c , .h files, and compiler path, linker path on the IDE and generate the make file? , if it so , please let me know.
CodeWarrior 5.9 is little bit different. It does not use external makefile, but makefile is called internally via .dll library (you do not find any makefile in project structure).
Please look at the AN4094 which is part of CodeWarrior installation (installation_folder/Help/PDF).