make a C folder; add -lm in makefile