#! make -f
#----------------------------------------------------------------------------
# Project:  NitroSDK - MB - demos - mb_child
# File:     Makefile
#
# Copyright 2003,2004 Nintendo.  All rights reserved.
#
# These coded insructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law.  They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# Revision 1.5  2004/09/24 01:50:33  miya
# デフォルトでthumbコードでのコンパイルをOFF
#
# Revision 1.4  2004/09/22 10:51:32  sato_masaki
# NITRO_CODEGEN_ALLをTrueに設定。
#
# Revision 1.3  2004/09/11 11:06:08  sato_masaki
# debug で動作しない不具合を修正。
#
# Revision 1.2  2004/09/01 08:57:38  sato_masaki
# 自機のユーザーネームをNVRAMに保存されている設定データから取得するように変更。
#
# Revision 1.1  2004/08/31 11:00:12  sato_masaki
# initial check-in
#
#----------------------------------------------------------------------------


#----------------------------------------------------------------------------


SUBDIRS			=

NITRO_PROC      	=	ARM7
# NITRO_CODEGEN_ALL	=	True

# Set Directries
SRCDIR			=	./src

SRCS			=	main.c 

INCDIR			=	../mb_loader/include

LCFILE_SPEC     	=	spmain.lsf
TARGET_BIN      	=	spmain.nef

#
#   local include directories

LINCLUDES		= 	$(NITROSDK_ROOT)/build/libraries/spi/include \
				../mb_loader/include

#
#   link directories

# If DEBUG, use Release libraries to save code size
GLIBRARY_DIRS		= $(DEFAULT_GLIBRARY_DIRS:/Debug=/Release)

#
#   local link directories

LLIBRARY_DIRS		=	../mb_loader/lib/$(NITRO_LIBARCH)/$(NITRO_BUILD_DIR)

include	$(NITROSDK_ROOT)/build/buildtools/commondefs

#----------------------------------------------------------------------------

do-build:		$(TARGETS)

include	$(NITROSDK_ROOT)/build/buildtools/modulerules


#===== End of Makefile =====

