1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - tips - demos - MultiLink
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-18#$
15# $Rev: 8573 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18
19TARGET_PLATFORM	= NITRO TWL
20
21SUBDIRS			= main ext extobj
22
23#----------------------------------------------------------------------------
24TARGET_BIN		= main.srl
25
26LLIBRARY_DIRS	= main/$(LIBDIR)		\
27				  ext/$(LIBDIR)
28
29LLIBRARIES		= mainSegment.a 		\
30				  extSegment.a
31
32EXT_OBJS		= extobj/$(OBJDIR)/extobj.o
33
34# Do 'link' when followings are modified
35LDEPENDS_NEF	= main/$(LIBDIR)/mainSegment.a	\
36				  ext/$(LIBDIR)/extSegment.a	\
37				  $(EXT_OBJS)
38
39# Do 'makerom' when followings are modified
40LDEPENDS_BIN	=
41
42
43include	$(TWLSDK_ROOT)/build/buildtools/commondefs
44
45#----------------------------------------------------------------------------
46
47do-build:		$(TARGETS)
48
49include	$(TWLSDK_ROOT)/build/buildtools/modulerules
50
51
52#===== End of Makefile =====
53