1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries - wm
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		:= 	TWL NITRO
20
21include	$(TWLSDK_ROOT)/build/buildtools/commondefs
22
23#----------------------------------------------------------------------------
24
25#SUBDIRS    =   $(GSUBDIRS)
26
27ifneq	($(filter TWL,$(TARGET_PLATFORM_LIST)),)
28ifeq    ($(TWLSDK_PRIVATE),TRUE)
29SUBDIRS_P   +=  ARM9.TWL    # Could build in the environment with "buildtools/@privatedefs".
30SUBDIRS_P   +=  ARM7.TWL
31endif
32endif
33
34ifneq	($(filter NITRO,$(TARGET_PLATFORM_LIST)),)
35SUBDIRS_P   +=  ARM9
36ifeq    ($(TWLSDK_PRIVATE),TRUE)
37SUBDIRS_P   +=  ARM7
38endif
39endif
40
41#----------------------------------------------------------------------------
42
43include $(TWLSDK_ROOT)/build/buildtools/modulerules
44
45#===== End of Makefile =====
46