From d6f9ff5cf7d815d4ff1beb9fef2ec932f382da79 Mon Sep 17 00:00:00 2001 From: obskyr Date: Mon, 18 Jun 2018 16:32:39 +0200 Subject: Fix and use make_shim.py --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 $$@) -- cgit v1.2.3