Improve readability

Jonathan Commins
2017-11-18 15:08:33 +07:00
parent 1a1f3c3e96
commit 25fe5134a3

@ -75,6 +75,8 @@ If you'd like to use C instead:
clang -I/w/raylib_build/raylib/release/osx -L/usr/local/lib -L/w/raylib_build/raylib/release/osx -lglfw -lraylib -framework GLUT -framework OpenGL -framework Cocoa my_app.c -o my_app
````
Now running build.sh (After setting permissions appropriately) will compile your program!
Note that this may give you a CLITERAL error, which seems to be an issue in raylib.h: https://github.com/raysan5/raylib/blob/develop/src/raylib.h#L261
Simply comment out that section so that only this line is active:
@ -84,8 +86,6 @@ Simply comment out that section so that only this line is active:
..Or just don't use CLITERAL and use (Color){255,255,255,255} instead. (That would be all white)
Now running build.sh (After setting permissions appropriately) will compile your program! No Xcode needed.
# Building Statically, so you can Run on Other Computers
Let me show you something cool.