32 lines
1.8 KiB
Bash
32 lines
1.8 KiB
Bash
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
#~clang -g -ansi -Weverything -Werror -Ofast -c -o ./source/engine.o ./source/engine.c
|
|
#~clang -g -ansi -Weverything -Werror -Ofast -c -o ./source/render.o ./source/render.c
|
|
#~clang -g -ansi -Weverything -Werror -Ofast -c -o ./source/game.o ./source/game.c
|
|
#~clang -g -ansi -Weverything -Werror -Ofast -c -o ./source/menu.o ./source/menu.c
|
|
#~clang -g -ansi -Weverything -Werror -Ofast -c -o ./source/main.o ./source/main.c
|
|
|
|
#~gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -c -o ./source/engine.o ./source/engine.c
|
|
#~gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -c -o ./source/render.o ./source/render.c
|
|
#~gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -c -o ./source/game.o ./source/game.c
|
|
#~gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -c -o ./source/menu.o ./source/menu.c
|
|
#~gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -Ofast -c -o ./source/main.o ./source/main.c
|
|
|
|
clang -g -ansi -Weverything -Werror -c -o ./source/engine.o ./source/engine.c
|
|
clang -g -ansi -Weverything -Werror -c -o ./source/render.o ./source/render.c
|
|
clang -g -ansi -Weverything -Werror -c -o ./source/game.o ./source/game.c
|
|
clang -g -ansi -Weverything -Werror -c -o ./source/menu.o ./source/menu.c
|
|
clang -g -ansi -Weverything -Werror -c -o ./source/main.o ./source/main.c
|
|
|
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -c -o ./source/engine.o ./source/engine.c
|
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -c -o ./source/render.o ./source/render.c
|
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -c -o ./source/game.o ./source/game.c
|
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -c -o ./source/menu.o ./source/menu.c
|
|
gcc -g -ansi -Wall -Wextra -Wpedantic -Werror -c -o ./source/main.o ./source/main.c
|
|
|
|
gcc -o umorna ./source/main.o ./source/game.o ./source/engine.o ./source/menu.o ./source/render.o -lraylib -lpng
|
|
|
|
exit
|