Last active
April 12, 2016 06:38
-
-
Save amirbehzad/040da85832da6ec4e735b6d4fd0190c9 to your computer and use it in GitHub Desktop.
Build-system for Sublime-Text 2 to compile and run simple C programs
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
{ | |
// Tools -> Build Systems -> New Build Systems | |
"cmd" : ["gcc -std=c99 $file_name -o ${file_base_name} && ./${file_base_name} -lm -Wall"], | |
"selector" : "source.c", | |
"shell": true, | |
"working_dir" : "$file_path" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment