#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: Horizon # File: Omakefile # # Copyright (C)2010 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: 25650 $ #---------------------------------------------------------------------------- SUPPORTED_TARGETS = CTR-T*.Process.MPCore.* CTR_APPTYPE = BOTH #CTR_APPTYPE = CARD #CTR_APPTYPE = NAND #demoライブラリ位置指定 #SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include) #SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../CTR_SDK/sampledemos/common/include) #INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) # ビルドするソースコードを指定します。 SOURCES[] = ./source/main.cpp ./source/screen/screen.cpp ../../common/savefile/savedata.cpp ../../common/savefile/sdmcwo.cpp ../../common/savefile/savefile.cpp ../../common/gui/gui.cpp ../../common/shfnt.cpp ../../common/sleep.cpp ../../common/common.cpp #LIBS += lib_demo libnn_am TARGET_PROGRAM = CtrSaveToSd TITLE = body # ROMFS のルートパスを指定します。 #ROMFS_ROOT = # 独自の RSF ファイルを指定する場合 ROM_SPEC_FILE = body.rsf DESCRIPTOR = $(CTRSDK_ROOT)/resources/specfiles/private/repairtool.desc # バナー、アイコン CTR_BANNER_SPEC = banner.bsf #Cia バージョン:マスタリング毎に更新すること #メジャーはrsfで指定(Remasterversion) MAKECIAFLAGS = -minor 0 -micro 1 include $(ROOT_OMAKE)/modulerules build: $(DEFAULT_TARGETS)