mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2821 b08762b0-b915-fc4b-9d8c-17b2551a87ff
74 lines
2.4 KiB
Makefile
74 lines
2.4 KiB
Makefile
#! make -f
|
|
#---------------------------------------------------------------------------
|
|
# Project: NitroSDK - tools
|
|
# File: Makefile
|
|
#
|
|
# Copyright 2003,2004 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.
|
|
#
|
|
# $Log: Makefile,v $
|
|
# Revision 1.3 2005/04/14 05:58:28 yosiokat
|
|
# NITRO設定データ関係を強制的に中国版にするスイッチFORCE_CHINAを追加。
|
|
#
|
|
# Revision 1.2 2005/04/02 10:00:08 yosiokat
|
|
# BUILD_MAINTE=TRUE時には、バナータイトルを変えるようにする。
|
|
#
|
|
# Revision 1.1 2005/03/28 09:36:16 yosiokat
|
|
# バナー追加。
|
|
#
|
|
# Revision 1.2 2004/10/18 05:37:51 yasu
|
|
# Fix how to make banners
|
|
#
|
|
# Revision 1.1 2004/09/21 02:02:53 yasu
|
|
# Demo for building final rom
|
|
#
|
|
# Revision 1.1 2004/09/17 09:10:59 yasu
|
|
# Build default banner file for SDK demos
|
|
#
|
|
# $NoKeywords: $
|
|
#---------------------------------------------------------------------------
|
|
include $(NITROSDK_ROOT)/build/buildtools/commondefs
|
|
|
|
BANNER_ICON = myGameIcon.bmp
|
|
BANNER_SPEC = myGameBanner.bsf
|
|
TARGETS = myGameBanner.bnr
|
|
INSTALL_DIR = ./
|
|
INSTALL_TARGETS = $(TARGETS)
|
|
|
|
BANNER_ICON_NAME = $(basename $(BANNER_ICON))
|
|
|
|
LDIRT_CLEAN = $(TARGETS) \
|
|
$(BANNER_ICON_NAME).nbfs \
|
|
$(BANNER_ICON_NAME).nbfc \
|
|
$(BANNER_ICON_NAME).nbfp \
|
|
$(TARGETS:.bnr=.srl)
|
|
|
|
include $(NITROSDK_ROOT)/build/buildtools/modulerules
|
|
|
|
#----------------------------------------------------------------------------
|
|
# build
|
|
#----------------------------------------------------------------------------
|
|
do-build: $(TARGETS)
|
|
|
|
$(TARGETS): $(BANNER_SPEC) $(BANNER_ICON)
|
|
$(NTEXCONV) -no -bg -bgb -bgnc $(BANNER_ICON) >/dev/null && \
|
|
$(MAKEBANNER) -d -N $(BANNER_ICON_NAME) $(BANNER_SPEC) $(TARGETS)
|
|
|
|
#----------------------------------------------------------------------------
|
|
# test
|
|
#----------------------------------------------------------------------------
|
|
#include $(NITROSDK_ROOT)/build/buildtools/commondefs.emtype.ISD
|
|
|
|
test: $(TARGETS)
|
|
$(ADDBANNER) $(TARGETS) $(TARGETS:.bnr=.srl)
|
|
ifdef ISD_NITLOAD
|
|
$(ISD_NITLOAD) $(TARGETS:.bnr=.srl)
|
|
endif
|
|
|
|
#
|