orca/milepost/examples/perf_text/build.sh

14 lines
355 B
Bash
Raw Normal View History

#!/bin/bash
BINDIR=../../bin
RESDIR=../../resources
SRCDIR=../../src
INCLUDES="-I$SRCDIR -I$SRCDIR/util -I$SRCDIR/platform -I$SRCDIR/app -I$SRCDIR/graphics"
LIBS="-L$BINDIR -lmilepost"
FLAGS="-O2 -mmacos-version-min=10.15.4"
2023-02-20 10:05:01 +00:00
clang -g $FLAGS $LIBS $INCLUDES -o $BINDIR/perf_text main.c
2023-06-20 09:45:59 +00:00
install_name_tool -add_rpath "@executable_path" $BINDIR/perf_text