14 lines
606 B
Bash
Executable File
14 lines
606 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# this isnt meant to be guarenteed to work on whatever system
|
|
# the c compiler invokation just got really big
|
|
# works for my system, is a reference for you in the worst case
|
|
#
|
|
# this is another "example" build script that i use when working on the mac
|
|
|
|
cd track_wrapper && zig build --release=fast && cd ..
|
|
|
|
clang -Wall -Wextra -pedantic -std=c99 -L/usr/local/lib -I/usr/local/include -I. raylib_frontend.c track_wrapper/zig-out/lib/libtrack_wrapper.a -lraylib \
|
|
-I/System/Library/Frameworks -framework IOKit -framework Cocoa -framework OpenGL \
|
|
-frounding-math -fno-fast-math -ffp-contract=off
|