summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-25 15:13:57 -0500
committerMelody <melody@pallet.town>2018-12-25 15:13:57 -0500
commit7e4b9569786b298becfe658c7a8417300dbf1382 (patch)
treea32d8d414b71ceb4b3ae97fb32f6ee85630e2e77
parent4eb935eb5a602f59d7ac646fa8757aeda81f4656 (diff)
allow setting RGBDS_DIR
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 73f5d1574..66fbca11b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,11 @@ else
SHA1 := sha1sum
endif
-RGBASM ?= rgbasm
-RGBFIX ?= rgbfix
-RGBGFX ?= rgbgfx
-RGBLINK ?= rgblink
+RGBDS_DIR ?=
+RGBASM ?= $(RGBDS_DIR)rgbasm
+RGBFIX ?= $(RGBDS_DIR)rgbfix
+RGBGFX ?= $(RGBDS_DIR)rgbgfx
+RGBLINK ?= $(RGBDS_DIR)rgblink
roms := pokecrystal.gbc pokecrystal11.gbc