summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-11-03 21:33:18 -0700
committerxyz <gky44px1999@gmail.com>2021-11-03 21:33:18 -0700
commit0b6b84bb31f42f3f8b6ed8da2900c052b095787f (patch)
tree335e5a04d5d8508cca756561d689160dca13e126 /home/xyz
parent6a8b04bd2bc7a820f9ea506e2fb398e7db26a17a (diff)
ccgsl, gcc compiler compile gsl shell script
Diffstat (limited to 'home/xyz')
-rwxr-xr-xhome/xyz/.local/bin/ccgsl5
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"