From f3017a393631f9961125286a2460a5a87077a6b7 Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 20 Nov 2021 16:48:50 -0800 Subject: ccgsl, use -Wall --- home/xyz/.local/bin/ccgsl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'home/xyz/.local/bin/ccgsl') 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" -- cgit v1.2.3-70-g09d2