Skip to content

Instantly share code, notes, and snippets.

@jbenner-radham
Last active December 19, 2015 01:49
Show Gist options
  • Save jbenner-radham/5878627 to your computer and use it in GitHub Desktop.
Save jbenner-radham/5878627 to your computer and use it in GitHub Desktop.
A Sublime Text build file for quick and simple C hacking. Only tested on ST3 beta on Ubuntu.
{
"cmd": ["cc -std=c11 -Wall ${file} && ./a.out"],
// Tells Sublime to only trigger for C files,
// since it wants to use g++ for C for some reason...
"selector": "source.c",
"working_dir": "${file_path}",
"shell": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment