ref: 7e4b9569786b298becfe658c7a8417300dbf1382
parent: 4eb935eb5a602f59d7ac646fa8757aeda81f4656
author: Melody <[email protected]>
date: Tue Dec 25 10:13:57 EST 2018
allow setting RGBDS_DIR
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,11 @@
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