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 +#---------------------------------------------------------------------------------------