1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries - snd - ARM9.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          =
20SUBMAKES         =   Makefile.sndex
21
22#----------------------------------------------------------------------------
23override TARGET_PLATFORM    =   TWL
24
25# Build ARM & THUMB libraries
26TWL_CODEGEN     ?=   ALL
27
28# Codegen for main processor
29TWL_PROC         =   ARM9
30
31# Create libraries for both HYBRID and LIMITED
32TWL_ARCHGEN		?=   ALL
33
34SRCDIR           =   ../common/src ../ARM9/src
35
36SRCS             =   snd_interface.c \
37                     snd_main.c      \
38                     snd_command.c   \
39                     snd_alarm.c     \
40                     snd_work.c      \
41                     snd_util.c      \
42                     snd_bank.c      \
43                     snd_data.c
44
45TARGET_LIB       =   libsnd$(TWL_LIBSUFFIX).a
46
47include $(TWLSDK_ROOT)/build/buildtools/commondefs
48
49INSTALL_TARGETS  =   $(TARGETS)
50INSTALL_DIR      =   $(TWL_INSTALL_LIBDIR)
51
52#----------------------------------------------------------------------------
53
54do-build:   $(TARGETS)
55
56include $(TWLSDK_ROOT)/build/buildtools/modulerules
57
58#===== End of Makefile =====
59