orca/sketches/atlas/build.sh

14 lines
368 B
Bash
Raw Normal View History

2023-02-24 11:01:00 +00:00
#!/bin/bash
BINDIR=../../bin
RESDIR=../../resources
SRCDIR=../../src
INCLUDES="-I$SRCDIR -I$SRCDIR/util -I$SRCDIR/platform -I$SRCDIR/app"
LIBS="-L$BINDIR -lmilepost"
FLAGS="-mmacos-version-min=10.15.4 -DDEBUG -DLOG_COMPILE_DEBUG"
2023-02-28 12:16:36 +00:00
clang -g $FLAGS $LIBS $INCLUDES -o $BINDIR/example_atlas main.c
2023-06-20 09:45:59 +00:00
install_name_tool -add_rpath "@executable_path" $BINDIR/example_atlas