uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

build.sh (479B)


      1 #!/bin/bash
      2 
      3 echo "Formatting.."
      4 clang-format -i utos.c
      5 
      6 echo "Cleaning.."
      7 rm -f ../../bin/utos
      8 
      9 echo "Building.."
     10 mkdir -p ../../bin
     11 cc -std=c89 -DDEBUG -Wall -Wno-unknown-pragmas -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined -lm utos.c -o ../../bin/utos
     12 
     13 echo "Running.."
     14 ../../bin/utos ../../projects/sounds/pad1.ss8 ../../projects/sounds/pad1.pcm
     15 
     16 echo "Done."