1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - GX - demos - tips/BuildFinalRom
4# File:	    Makefile
5#
6# Copyright 2003,2004 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-12-24#$
15# $Rev: 9728 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18
19TARGET_PLATFORM	= NITRO TWL
20
21SUBDIRS			= etc/banner
22
23
24#----------------------------------------------------------------------------
25
26SRCS			= main.c data.c
27TARGET_BIN		= main.srl
28LINCLUDES		= ../../gx/UnitTours/DEMOLib/include
29
30LLIBRARY_DIRS   = $(ROOT)/build/demos/gx/UnitTours/DEMOLib/lib/$(TWL_BUILDTYPE)
31LLIBRARIES      = libDEMO$(TWL_LIBSUFFIX).a
32
33#SRCDIR			= # using default
34#LCFILE			= # using default
35
36#----------------------------------------------------------------------------
37include	$(TWLSDK_ROOT)/build/buildtools/commondefs
38
39
40###--------------------------------------------------------------------------
41###  Setting for finalrom
42###--------------------------------------------------------------------------
43#### BEGIN
44####
45####  Please get your "libsyscall.a" and "rom header template" from Nintendo.
46####  And put them in ./etc directory.
47####
48#
49# ROM SPEC FILE
50#
51ifeq ($(TARGET_PLATFORM),TWL)
52ROM_SPEC	= ./ROM-TS.TWL.rsf
53else
54ROM_SPEC	= ./ROM-TS.rsf
55endif
56#
57# LIBSYSCALL: Provided to every product by NINTENDO
58#
59LIBSYSCALL		= ./etc/libsyscall.a
60###
61###
62###
63#### END
64
65#----------------------------------------------------------------------------
66
67do-build:		$(TARGETS)
68
69
70include	$(TWLSDK_ROOT)/build/buildtools/modulerules
71
72
73#===== End of Makefile =====
74