1#! make -f 2#---------------------------------------------------------------------------- 3# Project: TwlSDK - libraries - init - ARM9.TWL 4# File: Makefile.FLX 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# Codegen for main processer 22override TWL_PROC = ARM9 23 24# Avoid to build THUMB version object 25override TWL_CODEGEN = ARM 26 27# Avoid to build LIMITED version object 28override TWL_ARCHGEN = HYBRID 29 30# Avoid to use pre-compile-header of "nitro.h" 31TWL_NO_STD_PCHDR = True 32 33# build ARM & THUMB libraries 34TWL_CODEGEN ?= ALL 35 36SRCDIR = ../common/src src 37INCDIR = ../common/include 38 39SRCS = crt0.FLX.c 40TARGET_OBJ = crt0.FLX.TWL.o 41 42include $(TWLSDK_ROOT)/build/buildtools/commondefs 43#---------------------------------------------------------------------------- 44 45INSTALL_TARGETS = $(TARGETS) 46INSTALL_DIR = $(TWL_INSTALL_LIBDIR) 47 48include $(TWLSDK_ROOT)/build/buildtools/modulerules 49#---------------------------------------------------------------------------- 50 51do-build: $(TARGETS) 52 53$(OBJDIR)/$(TARGET_OBJ): $(OBJDIR)/$(SRCS:.c=.o) 54 $(CP) $< $@ 55 56 57#===== End of Makefile ===== 58