1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - WFS - libraries 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 = 20 21#---------------------------------------------------------------------------- 22override TARGET_PLATFORM := TWL 23 24# Build ARM & THUMB libraries 25TWL_CODEGEN ?= ALL 26 27# Codegen for subprocessor 28TWL_PROC = ARM9 29 30# Create libraries for both HYBRID and LIMITED 31TWL_ARCHGEN ?= ALL 32 33SRCDIR = ../common/src src 34 35SRCS = wfs_format.c wfs_server.c wfs_client.c 36SRCS += wfs_archive.c wfs_thread.c 37 38TARGET_LIB = libwfs$(TWL_LIBSUFFIX).a 39 40include $(TWLSDK_ROOT)/build/buildtools/commondefs 41 42INSTALL_TARGETS = $(TARGETS) 43INSTALL_DIR = $(TWL_INSTALL_LIBDIR) 44 45#---------------------------------------------------------------------------- 46 47do-build: $(TARGETS) 48 49 50include $(TWLSDK_ROOT)/build/buildtools/modulerules 51 52#===== End of Makefile ===== 53