Rewrite c_src/build_deps.sh as c_src/Makefile.