Last active
December 19, 2015 01:49
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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