shithub: pokecrystal

Download patch

ref: a3e31d6463e6313aed12ebc733b3f772f2fc78d7
parent: 3bb94e49286617c9e8d61af4e9af85df88000d96
author: mid-kid <[email protected]>
date: Sun Mar 13 09:31:11 EDT 2022

Fix building with make-3.81

--- a/Makefile
+++ b/Makefile
@@ -116,10 +116,8 @@
 $(pokecrystal11_debug_obj): RGBASMFLAGS += -D _CRYSTAL11 -D _DEBUG
 $(pokecrystal11_vc_obj):    RGBASMFLAGS += -D _CRYSTAL11 -D _CRYSTAL11_VC
 
-%.patch: %_vc.sym vc/%.constants.sym %_vc.gbc %.gbc vc/%.patch.template
-	tools/make_patch $^ $@
-
-%.sym: ;
+%.patch: vc/%.constants.sym %_vc.gbc %.gbc vc/%.patch.template
+	tools/make_patch $*_vc.sym $^ $@
 
 rgbdscheck.o: rgbdscheck.asm
 	$(RGBASM) -o $@ $<