Last active
July 10, 2016 05:13
-
-
Save robertov8/63802013e2f58ba0fc2382a675d12a9e to your computer and use it in GitHub Desktop.
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" : ["gnome-terminal -x bash -c \"rm -f ${file_base_name}; gcc $file_name -o ${file_base_name} -lm -Wall; ./${file_base_name};echo;echo; echo Press ENTER to continue; read line; exit; exec bash\""], | |
"selector" : "source.c", | |
"shell":true, | |
"working_dir" : "$file_path" | |
} |
- Remove
- -f ignore nonexistent
- Compile
- -o writes the build output to an output file
- -Wall Warning Options
- -lm link lib math
- Execute
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment