add mac build script
This commit is contained in:
parent
eb1e7a451e
commit
b321ce8534
13
build_mac.sh
Executable file
13
build_mac.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user