TwlIPL/build/libraries/mi/ARM9/Makefile
yutaka 0bcd0c250a add original crt0 includes to initialize main memory
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@19 b08762b0-b915-fc4b-9d8c-17b2551a87ff
2007-09-07 09:04:20 +00:00

59 lines
1.5 KiB
Makefile

#! make -f
#----------------------------------------------------------------------------
# Project: TwlFirm - libraries - mi
# File: Makefile
#
# Copyright 2007 Nintendo. All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law. They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# $Date:: $
# $Rev:$
# $Author:$
#----------------------------------------------------------------------------
SUBDIRS =
SUBMAKES =
#----------------------------------------------------------------------------
# build ARM & THUMB libraries
FIRM_CODEGEN_ALL ?= TRUE
SRCDIR = .
SRCS = \
mi_init_mainMemory.c \
TARGET_LIB = libmi$(FIRM_LIBSUFFIX).a
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
INSTALL_TARGETS = $(TARGETS)
INSTALL_DIR = $(FIRM_INSTALL_LIBDIR)
ifdef NITRO_CALLTRACE
CCFLAGS += -DOS_PROFILE_AVAILABLE -DOS_PROFILE_CALL_TRACE
endif
ifdef NITRO_FUNCTIONCOST
CCFLAGS += -DOS_PROFILE_AVAILABLE -DOS_PROFILE_FUNCTION_COST
endif
ifdef NITRO_TCM_APPLY
CCFLAGS += -DSDK_TCM_APPLY
endif
#----------------------------------------------------------------------------
do-build: $(TARGETS)
include $(TWLFIRM_ROOT)/build/buildtools/modulerules
#===== End of Makefile =====