1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - CP - libraries 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 21SRCS = cp_context.c 22 23#---------------------------------------------------------------------------- 24TARGET_PLATFORM = TWL NITRO 25 26# build ARM & THUMB libraries 27NITRO_CODEGEN ?= ALL 28 29# to avoid compiler-bug "blx**" 30#NITRO_CONSERVATIVE=TRUE 31 32TARGET_LIB = libcp$(NITRO_LIBSUFFIX).a 33 34include $(TWLSDK_ROOT)/build/buildtools/commondefs 35 36 37INSTALL_TARGETS = $(TARGETS) 38INSTALL_DIR = $(NITRO_INSTALL_LIBDIR) 39 40ifdef NITRO_TCM_APPLY 41CCFLAGS += -DSDK_TCM_APPLY 42endif 43 44#---------------------------------------------------------------------------- 45 46do-build: $(TARGETS) 47 48 49include $(TWLSDK_ROOT)/build/buildtools/modulerules 50 51 52#===== End of Makefile ===== 53