summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-01-15 11:32:24 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-01-15 11:32:24 -0500
commitfeeb96f20fc5195248b90bd09405f43eeb19b0a8 (patch)
treedc81253cd74037272585cd927a8320cc51b847a8 /INSTALL.md
parent411f4852c60356c8595470e2d0873be2b4eebbe2 (diff)
Revert agbcc dependency to pret master
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md19
1 files changed, 15 insertions, 4 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 1b2ba259e..fcc4601ac 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -21,12 +21,11 @@ In the case of Cygwin, [include](https://cygwin.com/cygwin-ug-net/setup-net.html
To set up the repository:
git clone https://github.com/pret/pokefirered
- git clone https://github.com/luckytyphlosion/agbcc -b new_layout_with_libs
+ git clone https://github.com/pret/agbcc
cd ./agbcc
- make
- make install prefix=../pokefirered
- make install-sdk prefix=../pokefirered
+ sh build.sh
+ sh install.sh ../pokefirered
cd ../pokefirered
@@ -56,3 +55,15 @@ To confirm these match the respective official ROM images, prefix `compare_` to
make -j$(nproc) compare_leafgreen
**Note:** If the build command is not recognized on Linux, including the Linux environment used within Windows, run `nproc` and replace `$(nproc)` with the returned value (e.g.: `make -j4`). Because `nproc` is not available on macOS, the alternative is `sysctl -n hw.ncpu`.
+
+###Note for Mac users
+
+The BSD make that comes with Mac XCode can be buggy, so obtain GNU make and sed using [Homebrew](https://brew.sh):
+
+ brew install make gnu-sed
+
+When compiling agbcc, substitute the `build.sh` line for
+
+ gsed 's/^make/gmake/g' build.sh | sh
+
+Finally, use `gmake` instead of `make` to compile the ROM(s).