From 5336950d5fac3ca504b8342e6c9a2d4760ab1f79 Mon Sep 17 00:00:00 2001 From: vulcandth Date: Fri, 27 Dec 2024 12:10:20 -0600 Subject: Use exported constants for VC patch (#124) --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ee694236..6cb1fdbf 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ endif $(pokeyellow_debug_obj): RGBASMFLAGS += -D _DEBUG $(pokeyellow_vc_obj): RGBASMFLAGS += -D _YELLOW_VC -%.patch: vc/%.constants.sym %_vc.gbc %.gbc vc/%.patch.template +%.patch: %_vc.gbc %.gbc vc/%.patch.template tools/make_patch $*_vc.sym $^ $@ rgbdscheck.o: rgbdscheck.asm @@ -116,10 +116,6 @@ $(foreach obj, $(pokeyellow_obj), $(eval $(call DEP,$(obj),$(obj:.o=.asm)))) $(foreach obj, $(pokeyellow_debug_obj), $(eval $(call DEP,$(obj),$(obj:_debug.o=.asm)))) $(foreach obj, $(pokeyellow_vc_obj), $(eval $(call DEP,$(obj),$(obj:_vc.o=.asm)))) -# Dependencies for VC files that need to run scan_includes -%.constants.sym: %.constants.asm $(shell tools/scan_includes %.constants.asm) $(preinclude_deps) | rgbdscheck.o - $(RGBASM) $(RGBASMFLAGS) $< > $@ - endif -- cgit v1.3.1-sl0p