mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1892 b08762b0-b915-fc4b-9d8c-17b2551a87ff
83 lines
2.5 KiB
Makefile
83 lines
2.5 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - demos - simpleShoot-1
|
|
# 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 =
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
TWL_NANDAPP = TRUE
|
|
|
|
TARGET_FIRM = SYSTEMMENU
|
|
TARGET_PLATFORM = TWL
|
|
TWL_ARCHGEN = LIMITED
|
|
|
|
#ARM9_FLX_addr
|
|
MAKELCF_FLAGS += -DADDRESS_FLXMAIN='0x02380000'
|
|
|
|
TARGET_FOB = ARM9FLX.fob
|
|
#ARM9_FLX_addsize
|
|
FBDSIZE_ARM9FLX = 4
|
|
TARGET_FOB += ARM9LTD.fob
|
|
#ARM9_LTD_addsize
|
|
FBDSIZE_ARM9LTD = 4
|
|
|
|
TARGET_NUMBER = 4
|
|
TARGET_NAME = RelocateChecker$(TARGET_NUMBER)
|
|
BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME)
|
|
TARGET_BIN = $(TARGET_NAME).srl
|
|
|
|
TITLEID_LO = RCK$(TARGET_NUMBER)
|
|
TARGET_TAD = $(BINDIR)/$(TITLEID_LO).$(TWL_BUILD_DIR)$(CODEGEN_ARCH).tad
|
|
|
|
LCFILE_SPEC = ARM9-TS.lsf
|
|
ROM_SPEC = main.rsf
|
|
LCFILE_TEMPLATE = rc$(TARGET_NUMBER).lcf.template
|
|
|
|
MISC_DIR = $(SYSMENU_ROOT)/build/systemMenu_RED/misc
|
|
|
|
SRCS = main.c RelocateChecker.c \
|
|
$(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c
|
|
|
|
LINCLUDES = $(MISC_DIR)/include
|
|
LLIBRARY_DIRS += ../crt/ARM9/obj/ARM9-TS.HYB/$(TWL_BUILD_DIR)
|
|
|
|
CRT0_O = crt0_rc.FLX.TWL.o
|
|
|
|
//MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)'
|
|
MAKEROM_FLAGS += -F -DTITLEID_LO='$(TITLEID_LO)'
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/tests/RelocateChecker/buildtools/commondefs
|
|
|
|
DEFAULT_COMP_ARM7 = hyena_rc$(TARGET_NUMBER)
|
|
DEFAULT_MAKEROM_ARM7_BASE = ../ARM7/bin/$(TWL_BUILDTYPE_ARM7)/$(DEFAULT_COMP_ARM7)/$(DEFAULT_COMP_ARM7)
|
|
DEFAULT_MAKEROM_ARM7 = $(DEFAULT_MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)
|
|
|
|
LDIRT_CLEAN = $(TARGET_TAD)
|
|
INSTALL_TARGETS = $(TARGET_TAD)
|
|
INSTALL_DIR = $(SDK_NMENU_DATADIR)
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
do-build : $(TARGETS)
|
|
|
|
include $(TWL_IPL_RED_ROOT)/build/tests/RelocateChecker/buildtools/modulerules
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
#===== End of Makefile =====
|