1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries - spi
4# File:     Makefile.CORE
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			 =
20SUBMAKES		 =	Makefile.micex
21
22#----------------------------------------------------------------------------
23override TARGET_PLATFORM = TWL
24
25TWL_CODEGEN		?=	ALL
26TWL_PROC		 =	ARM9
27
28# Create libraries for both HYBRID and LIMITED
29TWL_ARCHGEN		?=	ALL
30
31SRCDIR			 =	../ARM9/src
32INCDIR			 =	../ARM9/include	\
33					../ARM9.TWL/include
34
35SRCS			 =	tp.c 	\
36					mic.c 	\
37					pm.c
38
39TARGET_LIB		 = libspi$(TWL_LIBSUFFIX).a
40
41#----------------------------------------------------------------------------
42include	$(TWLSDK_ROOT)/build/buildtools/commondefs
43
44INSTALL_TARGETS	 = $(TARGETS)
45INSTALL_DIR		 = $(TWL_INSTALL_LIBDIR)
46
47#----------------------------------------------------------------------------
48do-build:		$(TARGETS)
49
50include	$(TWLSDK_ROOT)/build/buildtools/modulerules
51
52#===== End of Makefile =====
53