summaryrefslogtreecommitdiff
path: root/home/xyz
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-11-20 16:48:50 -0800
committerxyz <gky44px1999@gmail.com>2021-11-20 16:48:50 -0800
commitf3017a393631f9961125286a2460a5a87077a6b7 (patch)
tree10ff63750043c786f83f121b2e4aa4db398a8149 /home/xyz
parentcd33abfd955d614dbaa5e34e9ae1962f9a5e0733 (diff)
ccgsl, use -Wall
Diffstat (limited to 'home/xyz')
-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"