1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - FS - libraries - ARM9
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#----------------------------------------------------------------------------
19
20SUBDIRS             =
21
22#----------------------------------------------------------------------------
23override TARGET_PLATFORM = NITRO
24
25NITRO_CODEGEN		?= ALL
26NITRO_PROC			 = ARM9
27
28SRCDIR               = ../common/src src
29
30SRCS                 = \
31					   fs_archive.c			\
32					   fs_file.c			\
33					   fs_hook.c			\
34					   fs_overlay.c			\
35					   fs_archive_fatfs.c	\
36					   fs_proc_default.c	\
37					   fs_proc_mem.c		\
38					   fs_proc_rom.c		\
39					   fs_api.c
40
41TARGET_LIB           = libfs$(NITRO_LIBSUFFIX).a
42
43#----------------------------------------------------------------------------
44include	$(TWLSDK_ROOT)/build/buildtools/commondefs
45
46INSTALL_TARGETS      = $(TARGETS)
47INSTALL_DIR          = $(NITRO_INSTALL_LIBDIR)
48
49#----------------------------------------------------------------------------
50do-build:		$(TARGETS)
51
52include	$(TWLSDK_ROOT)/build/buildtools/modulerules
53
54
55#===== End of Makefile =====
56