mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
RelocateCheckerのビルド通らなくなっていたので修正 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@566 b08762b0-b915-fc4b-9d8c-17b2551a87ff
70 lines
2.1 KiB
Makefile
70 lines
2.1 KiB
Makefile
#! make -f
|
|
#----------------------------------------------------------------------------
|
|
# Project: TwlSDK - demos.TWL - nandApp - ExecPreLoadedApp
|
|
# 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: $
|
|
#----------------------------------------------------------------------------
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
TARGET_PLATFORM = TWL
|
|
TWL_ARCHGEN = LIMITED
|
|
|
|
TITLEID_LO = MLEP
|
|
|
|
TARGET_BIN = ExecPreLoadedApp.tad
|
|
|
|
LCFILE_SPEC = ARM9-TS.lsf
|
|
ROM_SPEC = main.rsf
|
|
|
|
MISC_DIR = ../../misc
|
|
DATA_DIR = ../../data
|
|
|
|
SRCS = main.c ExecPreLoadedApp.c \
|
|
$(MISC_DIR)/misc_simple.c \
|
|
$(DATA_DIR)/data.c
|
|
|
|
LINCLUDES = $(TWLSDK_ROOT)/build/demos/gx/UnitTours/DEMOLib/include \
|
|
$(MISC_DIR) \
|
|
$(DATA_DIR)
|
|
|
|
LLIBRARY_DIRS += $(TWLSDK_ROOT)/build/demos/gx/UnitTours/DEMOLib/lib/$(TWL_BUILDTYPE)
|
|
|
|
LLIBRARIES += libDEMO$(TWL_LIBSUFFIX).a
|
|
|
|
ADDRESS_DTCM = 0x0e000000
|
|
|
|
MAKEROM_FLAGS += -F -DTITLEID_LO='$(TITLEID_LO)'
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
|
|
|
DEFAULT_COMP_ARM7 = my_racoon
|
|
DEFAULT_MAKEROM_ARM7_BASE = ../ARM7/bin/$(TWL_BUILDTYPE_ARM7)/$(DEFAULT_COMP_ARM7)
|
|
DEFAULT_MAKEROM_ARM7 = $(DEFAULT_MAKEROM_ARM7_BASE).$(TWL_ELF_EXT)
|
|
|
|
SDK_NMENU_DATADIR = $(ROOT)/build/tools/TwlNMenu/data
|
|
INSTALL_TARGETS = $(BINDIR)/$(TARGET_BIN)
|
|
INSTALL_DIR = $(SDK_NMENU_DATADIR)
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
do-build : $(TARGETS)
|
|
|
|
|
|
include $(TWLSDK_ROOT)/build/buildtools/modulerules
|
|
|
|
#----------------------------------------------------------------------------
|
|
|
|
#===== End of Makefile =====
|