build.sh 328 B

12345678910111213141516171819
  1. #!/bin/bash
  2. # Public Domain.
  3. CFLAGS="-Wall -Werror -Wextra -pedantic"
  4. SANE_CFLAGS="-Wno-unused-function" # ...because this is a library...
  5. gcc -o sti_test test.c sti.c \
  6. -lm \
  7. $CFLAGS $SANE_CFLAGS \
  8. -O0 -ggdb -DLINUX -std=gnu11
  9. #gcc -o parser_gen parser_gen.c sti.c \
  10. # -lm \
  11. # $CFLAGS \
  12. # -O0 -ggdb -DLINUX -std=gnu11