1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries - stubs - isd/ARM7.TWL
4# File:     Makefile
5#
6# Copyright 2007-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
19SUBDIRS			 =
20
21#----------------------------------------------------------------------------
22override TARGET_PLATFORM = TWL
23
24TWL_CODEGEN 	?= ALL
25TWL_PROC		 = ARM7
26
27SRCDIR			 = ../common/src
28
29SRCS			 = stubs_isd.c
30
31TARGET_LIB		 = libstubsisd_sp$(TWL_LIBSUFFIX).a
32
33#----------------------------------------------------------------------------
34# If it is a DEBUG-version build, build it like a RELEASE-version build and give it the DEBUG-version libraries
35#
36ifdef	TARGET_DEBUG
37TWL_BUILD_TYPE	= RELEASE
38else
39ifdef	TWL_DEBUG
40TWL_BUILD_TYPE	= RELEASE
41else
42ifdef	NITRO_DEBUG
43TWL_BUILD_TYPE	= RELEASE
44endif
45endif
46endif
47
48#----------------------------------------------------------------------------
49# Create libraries for both HYBRID and LIMITED
50TWL_ARCHGEN		?=	ALL
51
52include	$(TWLSDK_ROOT)/build/buildtools/commondefs
53
54INSTALL_TARGETS	 = $(TARGETS)
55INSTALL_DIR		 = $(TWL_INSTALL_LIBDIR)
56
57#----------------------------------------------------------------------------
58
59do-build:		$(TARGETS)
60
61include	$(TWLSDK_ROOT)/build/buildtools/modulerules
62
63#===== End of Makefile =====
64