Techneck/build.bash

20 lines
521 B
Bash
Raw Permalink Normal View History

2023-10-10 10:43:34 +00:00
#!/usr/bin/env bash
mkdir -p dependencies/build/
2023-10-12 16:52:05 +00:00
gcc -g3 -o dependencies/build/glad.o \
2023-10-10 10:43:34 +00:00
-c dependencies/sources/glad/glad.c \
2023-10-12 06:18:43 +00:00
-I dependencies/include/ -Wall
2023-10-10 10:43:34 +00:00
2023-10-12 16:52:05 +00:00
gcc -g3 -o techneck.elf \
2023-10-17 20:13:54 +00:00
code/source-c/*.c \
code/source-c/entity/*.c \
code/source-c/utility/*.c \
code/source-c/world/*.c \
code/source-c/world/update/*.c \
code/source-c/world/generator/*.c \
code/source-c/physics/*.c \
dependencies/build/glad.o \
-I dependencies/include -I code/source-c/ -lGL -lSDL2 -lm -Wall
2023-10-10 10:43:34 +00:00