From 09703fe6930f1d5aac63353bc56050b7a033aaee Mon Sep 17 00:00:00 2001 From: Jonathan Commins Date: Sat, 18 Nov 2017 15:33:35 +0700 Subject: [PATCH] Add information about C filename --- Compile-for-OSX.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compile-for-OSX.md b/Compile-for-OSX.md index bd8f4f7..383e2f7 100644 --- a/Compile-for-OSX.md +++ b/Compile-for-OSX.md @@ -57,7 +57,7 @@ _Tutorial written by Aleix Rafegas and translated to English by Ray_ 3) Setup build script -You can create a build.sh file that you can run to compile your project. In the example below your project is named my_app.cpp (for C++) and compiles to my_app. +You can create a build.sh file that you can run to compile your project. In the example below your project is named my_app.c (for C) or my_app.cpp (for C++), and compiles to my_app. ```` clang++ -I /path/to/raylib/src -L /usr/local/lib -L /path/to/raylib/release/libs/osx -lglfw -lraylib -framework GLUT -framework OpenGL -framework Cocoa my_app.cpp -o my_app