2023-11-07 10:14:07 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2023-11-09 16:35:24 -05:00
|
|
|
gcc -g -Wall -Wextra -Wpedantic -Werror -O0 -c -o chapters/chapter_0.o chapters/chapter_0.c
|
|
|
|
gcc -g -Wall -Wextra -Wpedantic -Werror -O0 -c -o chapters/chapter_1.o chapters/chapter_1.c
|
|
|
|
gcc -g -Wall -Wextra -Wpedantic -Werror -O0 -c -o chapters/chapter_2.o chapters/chapter_2.c
|
2023-11-09 09:41:53 -05:00
|
|
|
|
2023-11-09 16:35:24 -05:00
|
|
|
gcc -g -Wall -Wextra -Wpedantic -Werror -O0 -c -o xhartae.o xhartae.c
|
2023-11-09 09:41:53 -05:00
|
|
|
|
|
|
|
gcc -o xhartae xhartae.o chapters/chapter_0.o chapters/chapter_1.o chapters/chapter_2.o
|
2023-11-07 10:14:07 -05:00
|
|
|
|
|
|
|
exit
|