1#! make -f
2#---------------------------------------------------------------------------
3# Project:  TwlSDK - tips - NTRBanner - banner
4# File:     Makefile
5#
6# Copyright 2003-2008 Nintendo.  All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain
9# proprietary information of Nintendo of America Inc. and/or Nintendo
10# Company Ltd., and are protected by Federal copyright law.  They may
11# not be disclosed to third parties or copied or duplicated in any form,
12# in whole or in part, without the prior written consent of Nintendo.
13#
14# $Date:: 2008-09-26#$
15# $Rev: 8700 $
16# $Author: ooshimay $
17#---------------------------------------------------------------------------
18
19TARGET_PLATFORM	 = NITRO
20
21include $(TWLSDK_ROOT)/build/buildtools/commondefs
22
23BANNER_ICON		 = banner.bmp
24BANNER_SPEC		 = banner.bsf
25
26TARGETS			 = $(BANNER_SPEC:.bsf=.bnr)
27
28BANNER_ICON_NAME = $(basename $(BANNER_ICON))
29BANNER_ICON_MIDDLE	= $(addprefix $(BANNER_ICON_NAME), .nbfs .nbfc .nbfp)
30MAKEBANNER_FLAGS	= -N $(BANNER_ICON_NAME)
31
32LDIRT_CLEAN		 = $(TARGETS) \
33				   $(BANNER_ICON_MIDDLE) \
34
35#----------------------------------------------------------------------------
36
37do-build:		$(BANNER_ICON_MIDDLE) $(TARGETS)
38
39#----------------------------------------------------------------------------
40include $(TWLSDK_ROOT)/build/buildtools/modulerules
41
42#===== End of Makefile =====
43