2023-01-28 16:24:43 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
BINDIR=../../bin
|
|
|
|
RESDIR=../../resources
|
|
|
|
SRCDIR=../../src
|
2023-02-21 16:09:26 +00:00
|
|
|
EXTDIR=../../ext
|
2023-01-28 16:24:43 +00:00
|
|
|
|
2023-02-21 16:09:26 +00:00
|
|
|
INCLUDES="-I$SRCDIR -I$SRCDIR/util -I$SRCDIR/platform -I$SRCDIR/app -I$EXTDIR"
|
|
|
|
LIBS="-L$BINDIR -lmilepost"
|
2023-01-28 16:24:43 +00:00
|
|
|
FLAGS="-mmacos-version-min=10.15.4 -DDEBUG -DLOG_COMPILE_DEBUG"
|
|
|
|
|
|
|
|
clang -g $FLAGS $LIBS $INCLUDES -o $BINDIR/example_gles_triangle main.c
|