diff options
Diffstat (limited to 'home/xyz')
-rwxr-xr-x | home/xyz/.local/bin/ccgsl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/home/xyz/.local/bin/ccgsl b/home/xyz/.local/bin/ccgsl new file mode 100755 index 00000000..d38ae5d2 --- /dev/null +++ b/home/xyz/.local/bin/ccgsl @@ -0,0 +1,5 @@ +#!/bin/sh +# steal codes from https://github.com/LukeSmithxyz/voidrice/blob/master/.local/bin/compiler + +base="${1%.*}" +cc "$1" -o "$base" -lgsl -lgslcblas && ./"$base" |