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
78 lines
2.3 KiB
Makefile
78 lines
2.3 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 =
|
||
|
||
#----------------------------------------------------------------------------
|
||
# ƒRƒ“ƒ|<7C>[ƒlƒ“ƒg‘I‘ð ( jackal )
|
||
|
||
export DEFAULT_COMP_ARM7 = jackal
|
||
|
||
COMPONENT_DIR = $(TWL_IPL_RED_ROOT)/build/components/$(DEFAULT_COMP_ARM7).TWL
|
||
WRAM_MAP_FILE = $(COMPONENT_DIR)/wram_regs/wram_regs.rbin
|
||
|
||
#----------------------------------------------------------------------------
|
||
|
||
TWL_NANDAPP = TRUE
|
||
|
||
TARGET_FIRM = SYSTEMMENU
|
||
TARGET_PLATFORM = TWL
|
||
TWL_ARCHGEN = LIMITED
|
||
|
||
TARGET_NUMBER = 0
|
||
TARGET_NAME = SimpleBenchmark$(TARGET_NUMBER)
|
||
BINDIR = ./bin/$(TWL_BUILDTYPE)/$(TARGET_NAME)
|
||
TARGET_BIN = $(TARGET_NAME).tad
|
||
LCFILE_SPEC = ARM9-TS.lsf
|
||
LCFILE_TEMPLATE = ARM9-TS.lcf.template
|
||
|
||
TITLEID_LO = SB$(TARGET_NUMBER)A
|
||
|
||
ROM_SPEC = main$(TARGET_NUMBER).rsf
|
||
|
||
MISC_DIR = ../../../systemMenu_RED/misc
|
||
|
||
SRCS = main.c SimpleBenchmark.c \
|
||
$(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c
|
||
|
||
LLIBRARIES = libhotsw$(TWL_LIBSUFFIX).a
|
||
|
||
LINCLUDES = $(MISC_DIR)/include
|
||
|
||
MAKEROM_FLAGS += -DTITLEID_LO='$(TITLEID_LO)'
|
||
#MAKETAD_FLAGS += -s
|
||
|
||
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
|
||
|
||
#MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe
|
||
|
||
#LDIRT_CLEAN = $(TARGET_TAD)
|
||
ADDRESS_DTCM = 0x0e000000
|
||
|
||
MAKEROM_FLAGS += -DWRAM_MAP_FILE='$(WRAM_MAP_FILE)'
|
||
#----------------------------------------------------------------------------
|
||
|
||
do-build : $(TARGETS)
|
||
|
||
|
||
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
|
||
|
||
#----------------------------------------------------------------------------
|
||
|
||
#===== End of Makefile =====
|