From c2421a8fe1cbb4c22ce74520660479e3fe8db352 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Fri, 15 Mar 2019 07:48:36 +0100 Subject: [PATCH] amend documentation in-line with #780 --- Working-on-macOS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Working-on-macOS.md b/Working-on-macOS.md index c95d731..aa69132 100644 --- a/Working-on-macOS.md +++ b/Working-on-macOS.md @@ -22,6 +22,12 @@ _Steps:_ ``` brew install raylib ``` +- raylib installs a pkg-config file, which describes the necessary compilation and linker flags to use it with `yourgame`: +``` +cc yourgame.c `pkg-config --libs --cflags raylib` +``` + +> **NOTE**: The raylib Homebrew package tracks the latest [raylib release](https://github.com/raysan5/raylib/releases) and as such can be out of date with what's in master. For active development, we suggest building the newest development snapshot instead. ##### Build newest development snapshot from source