mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
TMPジャンプ先として抱え持つ 量産機用ロムを分けたフォルダ構成に変更。 nand:/tmp への Write 中、画面に読み込み中と表示されるように。 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2375 b08762b0-b915-fc4b-9d8c-17b2551a87ff
93 lines
2.3 KiB
Makefile
93 lines
2.3 KiB
Makefile
#! make -f
|
||
#----------------------------------------------------------------------------
|
||
# Project: TwlSDK - tests - tmpjumpTest
|
||
# File: Makefile
|
||
#
|
||
# Copyright 2008 Nintendo. All rights reserved.
|
||
#
|
||
# These coded instructions, statements, and computer programs contain
|
||
# proprietary information of Nintendo of America Inc. and/or Nintendo
|
||
# Company Ltd., and are protected by Federal copyright law. They may
|
||
# not be disclosed to third parties or copied or duplicated in any form,
|
||
# in whole or in part, without the prior written consent of Nintendo.
|
||
#
|
||
# $Date:: $
|
||
# $Rev$
|
||
# $Author$
|
||
#----------------------------------------------------------------------------
|
||
|
||
SUBDIRS =
|
||
|
||
#----------------------------------------------------------------------------
|
||
|
||
override TARGET_PLATFORM = TWL
|
||
|
||
# GameCard, NAND ‚Ì—¼•û‚ð<E2809A>ì<EFBFBD>¬‚·‚é
|
||
|
||
ifndef APP_TYPE
|
||
|
||
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||
|
||
do-build: do-something
|
||
clean: do-something
|
||
clobber: do-something
|
||
install: do-something
|
||
do-build: MY_GOAL=default
|
||
clean: MY_GOAL=clean
|
||
clobber: MY_GOAL=clobber
|
||
install: MY_GOAL=install
|
||
|
||
do-something:
|
||
+$(REMAKE) APP_TYPE=CARD SKIP_SUBDIR=FALSE $(MY_GOAL)
|
||
+$(REMAKE) APP_TYPE=NAND SKIP_SUBDIR=FALSE $(MY_GOAL)
|
||
|
||
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
||
|
||
else # ifndef APP_TYPE
|
||
|
||
TWL_NANDAPP = TRUE
|
||
TARGET_NAME = tmpjumpTest$(ROMTYPE)
|
||
|
||
ifeq ($(APP_TYPE),NAND)
|
||
TARGET_BIN = $(TARGET_NAME).tad
|
||
ROM_SPEC = main_437a.rsf
|
||
|
||
else
|
||
TARGET_BIN = $(TARGET_NAME).srl
|
||
ROM_SPEC = main_436a.rsf
|
||
endif
|
||
|
||
endif # ifndef APP_TYPE
|
||
|
||
INCDIR = ./include
|
||
SRCDIR = ./src
|
||
|
||
SRCS = main.c common.c screen.c font.c
|
||
|
||
ifeq ($(ROMTYPE),MASTER)
|
||
MAKEROM_ROMROOT = ./mas_data
|
||
else
|
||
MAKEROM_ROMROOT = ./data
|
||
endif
|
||
|
||
MAKEROM_ROMFILES = TestApp.srl \
|
||
TestApp_HYBRID.srl \
|
||
TestApp_LIMITED.srl \
|
||
Test_NITROfail.srl \
|
||
Test_TWLfail.srl
|
||
|
||
#----------------------------------------------------------------------------
|
||
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||
|
||
# ƒCƒ“ƒXƒg<C692>[ƒ‹Žw’è
|
||
ifneq ($(TWL_IPL_RED_ROOT),)
|
||
INSTALL_DIR = $(TWL_IPL_RED_ROOT)/debugsoft/TMPJumpTest
|
||
INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN)
|
||
endif
|
||
|
||
do-build: $(TARGETS)
|
||
|
||
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
||
|
||
#===== End of Makefile =====
|