summaryrefslogtreecommitdiff
path: root/home/xyz/.local/bin/ccgsl
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.local/bin/ccgsl')
-rwxr-xr-xhome/xyz/.local/bin/ccgsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/xyz/.local/bin/ccgsl b/home/xyz/.local/bin/ccgsl
index 6bf46e4b..31bd3256 100755
--- a/home/xyz/.local/bin/ccgsl
+++ b/home/xyz/.local/bin/ccgsl
@@ -4,5 +4,4 @@
base="${1%.*}"
# -lm link math library? needed for sqrt(). not sure
# https://stackoverflow.com/questions/44175151/what-is-the-meaning-of-lm-in-gcc
-cc "$1" -o "$base" -lgsl -lgslcblas -lm && ./"$base"
-#cc "$1" -o "$base" -lgsl -lgslcblas && ./"$base"
+cc -Wall -lgsl -lgslcblas -lm -o "$base" "$1" && ./"$base"