Procházet zdrojové kódy

changed compiler to clang

Aaro Saila před 3 měsíci
rodič
revize
8b3c52f580
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 2 1
      README.md
  2. 1 1
      compile.sh

+ 2 - 1
README.md

@@ -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.
 
 # Info
-Only tested with the combination of
+Only tested with
+- Clang
 - GCC
 - Linux

+ 1 - 1
compile.sh

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