2016-02-06 13:32:57 +00:00
|
|
|
# Mac OSX - SDL2 version
|
2016-10-19 17:01:33 +00:00
|
|
|
#
|
2018-07-17 20:47:44 +00:00
|
|
|
# This should build a `gsplus` executable and copy it to the project root dir.
|
|
|
|
# You can run it, though as always you need to supply an Apple IIgs ROM file.
|
|
|
|
# Have fun, and please note any errors on the issues page of the project.
|
|
|
|
|
|
|
|
|
|
|
|
# Prerequisite: You must install Xcode on your system from the App Store
|
|
|
|
|
|
|
|
# Also, install Xcode cli tools.
|
2016-10-19 17:01:33 +00:00
|
|
|
xcode-select --install
|
2016-02-06 13:32:57 +00:00
|
|
|
|
2018-07-17 20:47:44 +00:00
|
|
|
# Install 'brew'.
|
2017-12-28 21:22:20 +00:00
|
|
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
2018-07-17 20:47:44 +00:00
|
|
|
|
|
|
|
# Use brew to install dependencies.
|
2016-02-06 13:32:57 +00:00
|
|
|
brew install sdl2
|
2017-12-28 21:22:20 +00:00
|
|
|
brew install sdl2_image
|
2016-02-06 13:32:57 +00:00
|
|
|
brew install freetype
|
|
|
|
|
2018-07-17 20:47:44 +00:00
|
|
|
# Build.
|
2016-02-06 13:32:57 +00:00
|
|
|
git clone git@github.com:digarok/gsplus.git
|
|
|
|
cd gsplus/src
|
|
|
|
ln -s vars_osx_sdl2 vars
|
|
|
|
make clean ; make
|