TwlIPL/build/debugsoft/TMPJump/Makefile
(no author) 481e9771fd [nishimoto@pseg1] TMPJump テストのビルドを LIMITED モードで行うように明示的に指定
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2839 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2009-06-05 05:49:17 +00:00

94 lines
2.3 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#! 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
TWL_ARCHGEN := LIMITED
# 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 =====