changed compiler to clang
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user