1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - FS - libraries - ARM9 4# File: Makefile 5# 6# Copyright 2007-2009 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:: 2009-06-04#$ 15# $Rev: 10698 $ 16# $Author: okubata_ryoma $ 17# 18#---------------------------------------------------------------------------- 19 20SUBDIRS = 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 = ../common/src src 32 33SRCS = \ 34 fs_archive.c \ 35 fs_file.c \ 36 fs_hook.c \ 37 fs_overlay.c \ 38 fs_archive_fatfs.c \ 39 fs_proc_default.c \ 40 fs_proc_mem.c \ 41 fs_proc_rom.c \ 42 fs_api.c 43 44TARGET_LIB = libfs$(TWL_LIBSUFFIX).a 45 46#---------------------------------------------------------------------------- 47include $(TWLSDK_ROOT)/build/buildtools/commondefs 48 49SRCS += $(PRIVATE_LIBRARIES_FS_ARM9_TWL_SRCS) 50 51INSTALL_TARGETS = $(TARGETS) 52INSTALL_DIR = $(TWL_INSTALL_LIBDIR) 53 54#---------------------------------------------------------------------------- 55do-build: $(TARGETS) 56 57include $(TWLSDK_ROOT)/build/buildtools/modulerules 58 59 60#===== End of Makefile ===== 61