#! make -f #---------------------------------------------------------------------------- # Project: TwlSDK - libraries - init - ARM7.TWL # File: Makefile.LTD # # 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:: 2007-11-16#$ # $Rev: 2423 $ # $Author: hatamoto_minoru $ #---------------------------------------------------------------------------- override TARGET_PLATFORM = TWL # Codegen for sub processer override TWL_PROC = ARM7 # Avoid to use pre-compile-header of "nitro.h" TWL_NO_STD_PCHDR = True # Avoid to build THUMB version object override TARGET_CODEGEN = ARM override TWL_ARCHGEN = LIMITED SRCDIR = ../common/src src INCDIR = ../common/include SRCS = crt0_rc.LTD.c TARGET_OBJ = crt0_rc.LTD.TWL.o MACRO_FLAGS += -DSDK_NOINIT include $(TWLSDK_ROOT)/build/buildtools/commondefs #---------------------------------------------------------------------------- include $(TWLSDK_ROOT)/build/buildtools/modulerules #---------------------------------------------------------------------------- do-build: $(TARGETS) $(OBJDIR)/$(TARGET_OBJ): $(OBJDIR)/$(SRCS:.c=.o) $(CP) $< $@ #===== End of Makefile =====