#! make -f
#----------------------------------------------------------------------------
# Project:  NitroSDK - libraries - LOADER
# File:     Makefile
#
# Copyright 2003,2004 Nintendo.  All rights reserved.
#
# These coded instructions, 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.2  2004/09/03 07:09:25  sato_masaki
# MBライブラリのファイル分割による更新。NVRAMまわりのリネームに対応。
#
# Revision 1.1  2004/08/31 11:00:12  sato_masaki
# initial check-in
#
#----------------------------------------------------------------------------


#----------------------------------------------------------------------------
# Codegen for sub processer
NITRO_PROC	    	=	ARM9

# build ARM & THUMB libraries
NITRO_CODEGEN_ALL	=	True

#----------------------------------------------------------------------------
SRCDIR			=	../src
INCDIR			=	../include ../../../common \
				$(NITROSDK_ROOT)/build/libraries/mb/include

SRCS			=	loader.c boot.c

TARGET_LIB		=	libmbloader$(NITRO_LIBSUFFIX).a

#----------------------------------------------------------------------------
include	$(NITROSDK_ROOT)/build/buildtools/commondefs

INSTALL_TARGETS		=	$(TARGETS)
INSTALL_DIR		=	../lib/$(NITRO_LIBTYPE)

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

do-build:		$(TARGETS)

include	$(NITROSDK_ROOT)/build/buildtools/modulerules


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

