1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - RTC - libraries 4# File: Makefile.rtcex 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 19override TARGET_PLATFORM = TWL 20 21# Build ARM & THUMB libraries 22TWL_CODEGEN ?= ALL 23TWL_PROC = ARM9 24 25# Create libraries for both HYBRID and LIMITED 26TWL_ARCHGEN = ALL 27 28SRCDIR = src 29SRCS = internal_ex.c \ 30 external_ex.c 31 32TARGET_LIB = librtcex$(TWL_LIBSUFFIX).a 33 34#---------------------------------------------------------------------------- 35include $(TWLSDK_ROOT)/build/buildtools/commondefs 36 37INSTALL_TARGETS = $(TARGETS) 38INSTALL_DIR = $(TWL_INSTALL_LIBDIR) 39 40#---------------------------------------------------------------------------- 41 42do-build: $(TARGETS) 43 44include $(TWLSDK_ROOT)/build/buildtools/modulerules 45 46#===== End of Makefile ===== 47