#!/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$ #---------------------------------------------------------------------------- CTR_APPTYPE=CARD SUPPORTED_TARGETS = CTR-T*.Process.MPCore.fast INCLUDES += $(NW4C_ROOT)/include SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir $(HORIZON_ROOT)/../CTR/SampleDemos/common/include) INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) SOURCES[] = main.cpp Drawer.cpp LIBS += lib_demo \ libnn_am \ libnn_cup \ libnn_ns \ libnn_erreula \ libnn_ulcd \ LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_demo) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_dev) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_lyt) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_ut) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_font) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_gfx) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_anim) LIBFILES += $`(addprefix $(NW4C_ROOT)$(DIRSEP)libraries$(DIRSEP)$(config.getTargetSubDirectory true)$(DIRSEP), libnw_os) ROMFS_ROOT = romfiles ROMFS_FILES[] = All.arc ROMFS_FILES[] += $(ROMFS_ROOT)/shaders/nwlyt_PaneShader.shbin $(ROMFS_ROOT)/shaders/nwlyt_ConstColorShader.shbin $(ROMFS_ROOT)/shaders/nwfont_TextWriterShader.shbin $(ROMFS_ROOT)/shaders/nwfont_RectDrawerShader.shbin DESCRIPTOR = SelfCup.desc TARGET_PROGRAM = SelfCupToolForNWTrial TITLE = CardCup ROM_SPEC_FILE = CardCup.rsf CTR_BANNER_SPEC = SelfCupTool.bsf include $(NW4C_ROOT)/build/omake/modulerules build: $(DEFAULT_TARGETS) DefineDefaultRules()