changed compiler to clang

This commit is contained in:
2026-06-06 22:08:22 +03:00
parent 75e51178a1
commit 8b3c52f580
2 changed files with 3 additions and 2 deletions

View File

@@ -31,6 +31,7 @@ for setting game options.
The program makes the terminal use non-canonical input and output by using termios. Then it updates and prints a 2D character array containing the board borders, snake, and food. Before terminating, the program restores canonical mode. The program makes the terminal use non-canonical input and output by using termios. Then it updates and prints a 2D character array containing the board borders, snake, and food. Before terminating, the program restores canonical mode.
# Info # Info
Only tested with the combination of Only tested with
- Clang
- GCC - GCC
- Linux - Linux

View File

@@ -38,7 +38,7 @@ macros="-DVERSION=\"$version\""
flags="-std=c23 $oflag $debug_flag $macros -Wall -Wextra -Werror -Wpedantic -pedantic-errors" flags="-std=c23 $oflag $debug_flag $macros -Wall -Wextra -Werror -Wpedantic -pedantic-errors"
includes="-I src/headers" includes="-I src/headers"
cmd="gcc $flags $includes $src -o target/sanke" cmd="clang $flags $includes $src -o target/sanke"
echo $cmd echo $cmd
$cmd $cmd