#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: Horizon # File: OMakefile # # Copyright (C)2009 Nintendo Co., Ltd. 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. # # $Rev$ #---------------------------------------------------------------------------- SUPPORTED_TARGETS = CTR-T*.Process.MPCore.fast CTR_APPTYPE = CARD TARGET_PROGRAM = ConsoleBackup SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir $(HORIZON_ROOT)/../CTR/SampleDemos/common/include) INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) \ ../common SOURCES[] = ConsoleBackup.cpp Controller.cpp Exporter.cpp Checker.cpp SavedataChecker.cpp ../common/Util.cpp ../common/DrawSystemState.cpp ../common/FileTransfer.cpp ../common/FileChecker.cpp ../common/SdReaderWriter.cpp ../common/HeapManager.cpp ../common/SdLogger.cpp ../common/wave.cpp ../common/SimplePlayer.cpp ../common/LogConsole.cpp ../common/CommonLogger.cpp ../common/SdMountManager.cpp ../common/VersionDetect.cpp ../common/ResFont.cpp ../common/HardwareStateManager.cpp ../common/SaveDataMover.cpp CTR_BANNER_SPEC = $(TARGET_PROGRAM).bsf ROMFS_ROOT = ../common/romfiles SHADER_BIN = nnfont_RectDrawerShader.shbin SHADER_PATH = $(ROMFS_ROOT)/$(SHADER_BIN) ROMFS_DEPENDENCIES = $(SHADER_PATH) LIBS += libnn_cfg \ libnn_crypto \ libnn_mcu \ libnn_i2c \ libnn_ps \ lib_demo \ libnn_nwm \ libnn_friends \ libnn_nim \ libnn_am \ INSTALL_SDK_TOOL = true ROM_SPEC_FILE = $(TARGET_PROGRAM).rsf DESCRIPTOR = $(HORIZON_ROOT)/resources/specfiles/private/RepairTool.desc include $(ROOT_OMAKE)/modulerules build: $(DEFAULT_TARGETS)