Add -lm to c compile command to avoid compile error when use math library
Merge pull request #256 from mzry1992/training-system

Add -lm to c compile command to avoid compile error when use math library