Skip to content

Instantly share code, notes, and snippets.

@jfcalvo
Created June 12, 2012 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfcalvo/2919090 to your computer and use it in GitHub Desktop.
Save jfcalvo/2919090 to your computer and use it in GitHub Desktop.
Sublime Text 2 Build System for C at MacOS
/*
Useful to build simple C files. Compile the source file and run Terminal executing the
binary application.
*/
{
"cmd": "gcc \"$file_name\" -o \"$file_base_name\" && open -a Terminal.app \"$file_path/$file_base_name\"",
"shell": true,
"selector": "source.c"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment