#!/bin/bash LIB_INCLUDE="-lglfw -lGL -lm" echo [Building target] if [ $DEBUG ]; then time clang -O0 -g -g2 -DOS_LINUX=1 -DDJSTDLIB_DEBUG=1 -xc -std=c99 ./src/main.c -o ./target/somaesque $LIB_INCLUDE else time clang -O2 -DOS_LINUX=1 -xc -std=c99 ./src/main.c -o ./target/somaesque $LIB_INCLUDE fi echo [Target built] ./target/somaesque