Techneck/build.bash

13 lines
364 B
Bash

#!/usr/bin/env bash
mkdir -p dependencies/build/
gcc -g3 -o dependencies/build/glad.o \
-c dependencies/sources/glad/glad.c \
-I dependencies/include/ -Wall
gcc -g3 -o techneck.elf \
code/source-c/*.c code/source-c/entity/*.c code/source-c/utility/*.c dependencies/build/glad.o \
-I dependencies/include -I code/source-c/ -lGL -lSDL2 -lm -Wall