mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-03-22 10:04:31 -05:00
add default icon & title text
This commit is contained in:
parent
03647d3633
commit
3b94f42f88
|
|
@ -6,14 +6,25 @@ include $(DEVKITARM)/base_rules
|
|||
|
||||
LIBNDS := $(DEVKITPRO)/libnds
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
%.ds.gba: %.nds
|
||||
@dsbuild $<
|
||||
@echo built ... $(notdir $@)
|
||||
ifeq ($(strip $(GAME_TITLE)),)
|
||||
GAME_TITLE := $(notdir $(OUTPUT))
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(GAME_SUBTITLE1)),)
|
||||
GAME_SUBTITLE1 := www.devkitpro.org
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(GAME_SUBTITLE2)),)
|
||||
GAME_SUBTITLE2 := www.drunkencoders.com
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(GAME_ICON)),)
|
||||
GAME_ICON := $(DEVKITPRO)/libnds/icon.bmp
|
||||
endif
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
%.nds: %.arm9
|
||||
@ndstool -c $@ -9 $<
|
||||
ndstool -c $@ -9 $< -b $(GAME_ICON) "$(GAME_TITLE);$(GAME_SUBTITLE1);$(GAME_SUBTITLE2)"
|
||||
@echo built ... $(notdir $@)
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user