summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2018-03-04 13:32:44 -0500
committeryenatch <yenatch@gmail.com>2018-03-04 13:32:44 -0500
commitea214bb7803543de6573a2c2750941563d9225eb (patch)
tree01a901a07654c48ab2ff3041d50c58a8fad2bd22
parent918c1eec852e1b9d0fb438c6208d8144d7933dbf (diff)
Mention `make -j` and `make NODEP=1`.
-rw-r--r--INSTALL.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 7a50a844c..7092d5a47 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -82,3 +82,20 @@ Pokémon Sapphire 1.1
Pokémon Sapphire 1.2
make sapphire_rev2
+
+
+# Faster builds
+
+After the first build, subsequent builds are faster. You can further speed up the build:
+
+## Parallel build
+
+This significantly speeds up the build on modern machines.
+
+ make -j`nproc`
+
+## Disable the dependency scanning
+
+If you've only changed `.c` or `.s` files, you can turn off the dependency scanning temporarily. Changes to all other files will be ignored, and the build will either fail or not reflect the changes.
+
+ make NODEP=1