build_g.sh 237 B

1234567891011
  1. set -e
  2. python prebuild.py
  3. SRC=$(find src/ -name "*.c")
  4. FLAGS="-std=c11 -Iinclude -O0 -Wfatal-errors -g -DDEBUG -DPK_ENABLE_OS=1" # -fsanitize=address,leak,undefined"
  5. echo "Compiling C files..."
  6. clang $FLAGS $SRC src2/main.c -o main