TwlIPL/build/tests/ErrorLogTest/ARM9/Makefile.1

56 lines
1.7 KiB
Makefile

#! make -f
#----------------------------------------------------------------------------
# Project: TwlSDK - tests - ErrorLogTest
# 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_IPL_RED_ROOT)/build/libraries_sysmenu/errorLog
GAMECODE = 013A
MEDIA = NAND
TARGET_BIN = main.tad
TARGET_FIRM = SYSTEMMENU
TARGET_PLATFORM = TWL
TWL_ARCHGEN = LIMITED
TWL_NANDAPP = TRUE
BINDIR = ./bin/$(TWL_BUILDTYPE)/$(MEDIA)
#----------------------------------------------------------------------------
MISC_DIR = ../../../systemMenu_RED/misc
LINCLUDES += $(MISC_DIR)/include
SRCS = ErrorLogTest.c $(MISC_DIR)/src/misc.c $(MISC_DIR)/src/cmn.c
LLIBRARIES += liberrorlog$(TWL_LIBSUFFIX).a
ROM_SPEC = main.rsf
MAKETAD_OPTION += -s
include $(TWL_IPL_RED_ROOT)/build/buildtools/commondefs
MAKEROM = $(TWL_TOOLSDIR)/bin/makerom.TWL.secure.exe
MAKEROM_FLAGS += -DERRLOGTEST_GAMECODE=$(GAMECODE) \
-DERRLOGTEST_MEDIA=$(MEDIA)
#----------------------------------------------------------------------------
do-build: $(TARGETS)
include $(TWL_IPL_RED_ROOT)/build/buildtools/modulerules
#===== End of Makefile =====