15 lines
414 B
Bash
15 lines
414 B
Bash
#!/bin/bash
|
|
|
|
BINDIR=../../bin
|
|
RESDIR=../../resources
|
|
SRCDIR=../../src
|
|
EXTDIR=../../ext
|
|
|
|
INCLUDES="-I$SRCDIR -I$SRCDIR/util -I$SRCDIR/platform -I$SRCDIR/app -I$EXTDIR"
|
|
LIBS="-L$BINDIR -lmilepost"
|
|
FLAGS="-mmacos-version-min=10.15.4 -DOC_DEBUG -DLOG_COMPILE_DEBUG"
|
|
|
|
clang -g $FLAGS $LIBS $INCLUDES -o $BINDIR/example_render_thread main.c
|
|
|
|
install_name_tool -add_rpath "@executable_path" $BINDIR/example_render_thread
|