Hello,
I am sorry for my previous answer. It is not necessary to recompile the library, because this had been already done and library which supports SPFP mathematical function is already included in CodeWarrior IDE.
In your project, open project properties and set libraries the same way as in the figure below:

Also, you must switch the project Floating point to SPFP_only.

Clean your project and recompile again.
Now functions from math.h supports hardware floating point instructions.
Regards,
Martin