1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - libraries - fx
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
19SUBDIRS		=
20
21#----------------------------------------------------------------------------
22override TARGET_PLATFORM = NITRO
23
24NITRO_CODEGEN	 	?= ALL
25NITRO_PROC		= ARM9
26
27SRCDIR			= ../common/src
28
29SRCS			= fx_sincos.c 		\
30			  fx_mtx22.c		\
31			  fx_mtx33.c		\
32			  fx_mtx43.c		\
33			  fx_mtx44.c		\
34			  fx_cp.c		\
35			  fx_vec.c		\
36                          fx_trig.c		\
37                          fx_atan.c		\
38                          fx_atanidx.c		\
39                          fx.c			\
40                          fx_asinacosidx.c
41
42TARGET_LIB		= libfx$(NITRO_LIBSUFFIX).a
43
44#----------------------------------------------------------------------------
45include	$(TWLSDK_ROOT)/build/buildtools/commondefs
46
47INSTALL_TARGETS		= $(TARGETS)
48INSTALL_DIR		= $(NITRO_INSTALL_LIBDIR)
49
50#----------------------------------------------------------------------------
51do-build:		$(TARGETS)
52
53include	$(TWLSDK_ROOT)/build/buildtools/modulerules
54
55#===== End of Makefile =====
56