summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-09-13 13:35:40 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-09-13 13:35:40 -0400
commit544fb770b3a2b650e89371ac2a3d06d75acb716b (patch)
tree1eeea8acd4217448d250a2de5d4a3a65db6974f9
parent30277a8abaf131d4987bf0694c0968ca6ab3e800 (diff)
Allow RGBDS= to override rgbds location
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7c6b74e..4e9c073 100644
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,11 @@ baserom := DMGAKVJ0.1
dir_build := build
-RGBASM := rgbasm
-RGBGFX := rgbgfx
-RGBLINK := rgblink
-RGBFIX := rgbfix
+RGBDS ?=
+RGBASM ?= $(RGBDS)rgbasm
+RGBFIX ?= $(RGBDS)rgbfix
+RGBGFX ?= $(RGBDS)rgbgfx
+RGBLINK ?= $(RGBDS)rgblink
RGBASMFLAGS := -p 0xff -L -h -E
RGBLINKFLAGS := -p 0xff -d