delete unused include
[full-beans.git] / demo / build.sh
blobdb686f99630adefd22f97f5364e0f6e0aad81d47
1 #!/bin/bash
3 OS_NAME=`uname -o 2>/dev/null || uname -s`
5 if [ $OS_NAME == "Msys" ]; then
6 GLFLAG="-lgdi32"
7 elif [ $OS_NAME == "Darwin" ]; then
8 GLFLAG="-framework Cocoa"
9 else
10 GLFLAG="-lX11"
13 CFLAGS="-I../ -Wall -std=c11 -pedantic $GLFLAG -lm -O2 -g"
15 gcc main.c renderer.c ../microui.c $CFLAGS