summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorobskyr <powpowd@gmail.com>2018-06-18 16:32:39 +0200
committerobskyr <powpowd@gmail.com>2018-06-18 18:18:46 +0200
commitd6f9ff5cf7d815d4ff1beb9fef2ec932f382da79 (patch)
tree9662f13360b58a725ebe41a4317cf790e39f6609 /Makefile
parent0cd5e3d610bb13093a1b596e2d5399af1c008a96 (diff)
Fix and use make_shim.py
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4f05f0a..8888cb5 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ RGBFIX := rgbfix
sort_sym := tools/sort_symfile.sh
#sort_sym := $(PYTHON3) tools/sort_sym.py
-RGBASMFLAGS := -h -E -DGOLD -DDEBUG=1
+RGBASMFLAGS := -h -E -i build/ -DGOLD -DDEBUG=1
tools/gfx :=
ROM := pokegold-spaceworld.gb
@@ -83,8 +83,8 @@ $(BASEROM):
@echo "Please obtain a copy of Gold_debug.sgb and put it in this directory as $@"
@exit 1
-$(BUILD)/shim.asm: tools/make_shim $(SHIM) | $$(dir $$@)
- tools/make_shim -w $(filter-out $<, $^) > $@
+$(BUILD)/shim.asm: tools/make_shim.py $(SHIM) | $$(dir $$@)
+ $(PYTHON3) tools/make_shim.py -w $(filter-out $<, $^) > $@
$(BUILD)/gfx.o: | $(GFX)
$(BUILD)/%.o: $(BUILD)/%.asm | $$(dir $$@)