用Sublime Text 3编译C源文件
Tools->New Build System
{"shell_cmd": "gcc \"${file}\" -o \"${file_path}/${file_base_name}\" -std=c11 -O2 -Wall -lm --static","file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$","working_dir": "${file_path}","selector": "source.c, source.c++","variants":[{"name": "Run","shell_cmd": "gcc -std=c11 -O2 -Wall -lm --static \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""}]}