From 40ef9f33ba16265e7f0dddb625fa94ad4d2b5afe Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Fri, 25 Mar 2022 23:09:18 -0600 Subject: added macOS instructions --- INSTALL.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'INSTALL.rst') diff --git a/INSTALL.rst b/INSTALL.rst index d143e2e..d1ca066 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -4,6 +4,7 @@ Installation Instructions are available for the following operating systems: * `Linux/BSD <#linuxbsd>`_ +* `macOS <#macos>`_ * `Windows <#windows>`_ Linux/BSD @@ -85,6 +86,27 @@ Other Linux/UNIX-based systems ------------------------------- If you fit this category, you probably know what you need to build ``uirc``. +macOS +====== + +To build ``uirc`` on macOS, make sure `brew `_ and the Xcode Command Line tools (run ``xcode-select --install`` to make sure) are installed, then follow the instructions below. + +.. code:: bash + + % brew install curl wget + % git clone https://github.com/brysonsteck/uirc && cd uirc + +You will also need to uncomment the INCLUDE_PREFIX line at the top of the `config.mk `_ file to make sure that the stb library is downloaded correctly. + +.. code:: bash + + # in macOS, you must install the 'stb' library manually from GitHub. do this with: + % make stb + # build uirc with: + % make + # or, if you want to install globally, use: + % make install + Windows ======== -- cgit v1.2.3