More to come...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.8KB

  1. #!/bin/bash
  2. set -xe
  3. clang -DSTATIC_SOURCE -g -Weverything -O0 -o xhartae xhartae.c
  4. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o chapter/chapter_0.o chapter/chapter_0.c
  5. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o chapter/chapter_1.o chapter/chapter_1.c
  6. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o chapter/chapter_2.o chapter/chapter_2.c
  7. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o chapter/chapter_3.o chapter/chapter_3.c
  8. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o chapter/chapter_4.o chapter/chapter_4.c
  9. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o chapter/chapter_5.o chapter/chapter_5.c
  10. gcc -g -Wall -Wextra -Wpedantic -O0 -c -o xhartae.o xhartae.c
  11. gcc -o xhartae xhartae.o chapter/chapter_0.o chapter/chapter_1.o chapter/chapter_2.o chapter/chapter_3.o chapter/chapter_4.o chapter/chapter_5.o
  12. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_0.h
  13. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_0.c
  14. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_1.h
  15. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_1.c
  16. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_2.h
  17. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_2.c
  18. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_3.h
  19. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_3.c
  20. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_4.h
  21. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_4.c
  22. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_5.h
  23. #~splint -weak -warnposix -retvalother -syntax -type chapter/chapter_5.c
  24. #~splint -weak -warnposix -retvalother -syntax -type xhartae.c
  25. #~valgrind --show-leak-kinds=all --leak-check=full ./xhartae
  26. exit