From 0ec9a0655310e6ac2b0a0446c0773a8ea9bc56c1 Mon Sep 17 00:00:00 2001 From: lesleyrs <19632758+lesleyrs@users.noreply.github.com> Date: Tue, 18 Mar 2025 21:42:22 +0100 Subject: [PATCH] fix building with make -B --- templates/arm9/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/arm9/Makefile b/templates/arm9/Makefile index d393960..6e8c563 100644 --- a/templates/arm9/Makefile +++ b/templates/arm9/Makefile @@ -208,13 +208,15 @@ $(SOUNDBANK) : $(MODFILES) #--------------------------------------------------------------------------------- # Convert non-GRF game icon to GRF if needed #--------------------------------------------------------------------------------- +ifneq ($(ICON),) $(GAME_ICON): $(notdir $(ICON)) #--------------------------------------------------------------------------------- @echo convert $(notdir $<) @grit $< -g -gt -gB4 -gT FF00FF -m! -p -pe 16 -fh! -ftr +endif -include $(DEPSDIR)/*.d #--------------------------------------------------------------------------------------- endif -#--------------------------------------------------------------------------------------- \ No newline at end of file +#---------------------------------------------------------------------------------------