fix test-quat and stl_parser compile
generate makefile depedancies automatically