諸々の事情により NAND アプリになりました。

ついでに、ヘッダと libsyscall を正式なものに。

git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@141 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
yoshida_teruhisa 2009-01-26 04:53:40 +00:00
parent 9cb853c055
commit 4fd390f4b1
8 changed files with 65 additions and 10 deletions

Binary file not shown.

Binary file not shown.

View File

@ -14,6 +14,8 @@
# $Revision$
#----------------------------------------------------------------------------
SUBDIRS = banner
NNS_USELIBS = g2d gfd fnd
G2D_TEXTDEMOLIB = $(NITROSYSTEM_ROOT)/build/demos/g2d/Text/textdemolib
@ -22,17 +24,23 @@ LINCLUDES = $(G2D_TEXTDEMOLIB)/include
LLIBRARY_DIRS = $(G2D_TEXTDEMOLIB)/lib/$(NITRO_BUILDTYPE)
LLIBRARIES = libg2d_textdemo.a
LIBSYSCALL = ./030A/libsyscall.a
TWL_NANDAPP = TRUE
TITLEID_LO = 030A
#----------------------------------------------------------------------------
SRCS = main.c
TARGET_BIN = main.srl
TARGET_BIN = SimpleFontViewSD.tad
LDEPENDS_NEF = data/fontd.NFTR
MAKEROM_ROMROOT = ./
MAKEROM_ROMFILES = data/fontd.NFTR
ROM_SPEC = ROM-TS_custom.rsf
ROM_SPEC = ./ROM-TS_custom.rsf
#----------------------------------------------------------------------------
include $(NITROSYSTEM_ROOT)/build/buildtools/commondefs
@ -41,7 +49,7 @@ include $(NITROSYSTEM_ROOT)/build/buildtools/commondefs
do-build: $(TARGETS)
include $(NITROSYSTEM_ROOT)/build/buildtools/modulerules
include $(TWLSDK_ROOT)/build/buildtools/modulerules
#===== End of Makefile =====

View File

@ -57,13 +57,13 @@ Property
#
# TITLE NAME: Your product name within 12bytes
#
#TitleName "MY APP NAME"
TitleName "SIFONTVIEWER"
#
# MAKER CODE: Your company ID# in 2 ascii words
# issued by NINTENDO
#
#MakerCode "00"
MakerCode "01"
#
# REMASTER VERSION: Mastering version
@ -88,13 +88,13 @@ Property
#
# ROM HEADER TEMPLATE: Provided to every product by NINTENDO
#
#RomHeaderTemplate ./etc/rom_header.template.sbin
RomHeaderTemplate ./030A/rom_header_030a.template.sbin
#
# BANNER FILE: generated from Banner Spec File
#
#BannerFile ./etc/myGameBanner.bnr
BannerFile $(TWLSDK_ROOT)/include/twl/specfiles/default.bnr
BannerFile ./banner/banner.bnr
#
# Permit LandingNormalJump: for TWL "ApplicationJump" function [TRUE/FALSE]
@ -207,7 +207,7 @@ AppendProperty
#
# Publisher : "Nintendo"
# don't have to edit
#Publisher Nintendo
Publisher Nintendo
#
# Application type : [USER/SYSTEM]
@ -222,7 +222,7 @@ AppendProperty
#
# Boot allowed Media: [GameCard]
#
Media GameCard
Media NAND
#
# Data only title : [TRUE/FALSE]
@ -237,7 +237,7 @@ AppendProperty
#
# GameCode for TitleID : Your GameCode in 4 ascii words
#
#GameCode ABCJ
GameCode "030A"
#
# Public save data size: [0K/16K/32K/64K/128K/256K/512K/1M/2M/4M]

View File

@ -0,0 +1,47 @@
#! make -f
#----------------------------------------------------------------------------
# Project: TwlIPL
# File: Makefile
#
# Copyright 2007 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$
#----------------------------------------------------------------------------
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
ICON_DIR = ./icon
BANNER_ICON = $(ICON_DIR)/gameIcon.bmp
BANNER_SPEC = test-utf16_v3.TWL.bsf
TARGETS = banner.bnr
INSTALL_DIR = ./
INSTALL_TARGETS = $(TARGETS)
BANNER_ICON_NAME = $(basename $(BANNER_ICON))
BANNER_ICON_MIDDLE = $(addprefix $(BANNER_ICON_NAME), .nbfs .nbfc .nbfp)
LDIRT_CLEAN = $(TARGETS) \
$(BANNER_ICON_MIDDLE) \
$(TARGETS:.bnr=.srl)
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
#----------------------------------------------------------------------------
# build
#----------------------------------------------------------------------------
do-build: $(TARGETS)
$(TARGETS): $(BANNER_SPEC) $(BANNER_ICON) $(BANNER_ICON_MIDDLE)
$(MAKEBANNER) -N $(BANNER_ICON_NAME) $(BANNER_SPEC) $(TARGETS)
#

Binary file not shown.

After

Width:  |  Height:  |  Size: 630 B

Binary file not shown.