1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - tcl - demos.TWL - tcl-2
4# File:     Makefile
5#
6#  Copyright 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-10-07#$
15#  $Rev: 8888 $
16#  $Author: onozawa_yuki $
17#----------------------------------------------------------------------------
18
19SUBDIRS			 =	banner
20
21#-------------------------
22#-- Specifies a NAND application build
23
24TWL_NANDAPP		=	TRUE
25
26
27#----------------------------------------------------------------------------
28TARGET_PLATFORM	:= TWL
29TWL_ARCHGEN		:= LIMITED
30
31SRCS			 =	main.c screen.c font.c
32TARGET_BIN		 =	tcl_2.tad
33
34
35MAKEROM_ROMROOT	 = ./data
36MAKEROM_ROMFILES = *.bmp
37
38
39#-------------------------
40#-- A fixed RSF file is needed to specify several parameters for the NAND application
41
42ROM_SPEC			=	demo.rsf
43
44
45include	$(TWLSDK_ROOT)/build/buildtools/commondefs
46include	$(TWLSDK_ROOT)/build/buildtools/commondefs.gx.demolib
47
48
49#-------------------------
50#-- This is a tentative measure until TCL is officially added to commondefs
51
52TWL_LIBS_EX		+=	libtcl$(TWL_LIBSUFFIX).a
53
54
55#----------------------------------------------------------------------------
56
57do-build:		$(TARGETS)
58
59include	$(TWLSDK_ROOT)/build/buildtools/modulerules
60
61#===== End of Makefile =====
62