Skip to content

Instantly share code, notes, and snippets.

@BorysDev
Created May 30, 2019 13:12
Show Gist options
  • Save BorysDev/5c314c64958f3bf5d953ac6d648c3cdf to your computer and use it in GitHub Desktop.
Save BorysDev/5c314c64958f3bf5d953ac6d648c3cdf to your computer and use it in GitHub Desktop.
Just a simple compiler that automatically runs the compiled program (C).
# Compile $1 into $2
gcc $1 -o $2
# Run $2
./$2
# Remove $2
rm $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment