1#!/usr/bin/env omake 2#---------------------------------------------------------------------------- 3# Project: Horizon 4# File: OMakefile 5# 6# Copyright (C)2009-2012 Nintendo Co., Ltd. All rights reserved. 7# 8# These coded instructions, statements, and computer programs contain 9# proprietary information of Nintendo of America Inc. and/or Nintendo 10# Company Ltd., and are protected by Federal copyright law. They may 11# not be disclosed to third parties or copied or duplicated in any form, 12# in whole or in part, without the prior written consent of Nintendo. 13# 14# $Rev: 46365 $ 15#---------------------------------------------------------------------------- 16 17.SUBDIRS: DemoVersion 18 19# Specifies the target that the process supports. 20# The system name should always be "Process". 21SUPPORTED_TARGETS = CTR-T*.Process.MPCore.* 22 23SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include) 24INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) 25 26# �_�E�����[�h�A�v��(cia) �݂̂��쐬����ꍇ�� CTR_APPTYPE = SD ���A 27# �J�[�h�A�v��(cci) �ƃ_�E�����[�h�A�v���̗������쐬����ꍇ�� CTR_APPTYPE = CARD SD ���w�肵���������B 28# �J�[�h�A�v���݂̂��쐬����ꍇ�� CTR_APPTYPE ���w�肷��K�v�͂���܂���B 29CTR_APPTYPE = CARD SD 30 31# Specifies the source code to build. 32SOURCES[] = 33 demo1.cpp 34 gx.cpp 35 rtc.cpp 36 pad.cpp 37 tp.cpp 38 acc.cpp 39 mic.cpp 40 snd.cpp 41 camera.cpp 42 fs.cpp 43 savedata.cpp 44 kbd.cpp 45 46 47# Specify the libraries to link. No extension is needed. 48# Although several standard libraries are automatically linked by the build system, libraries provided for a specific process must be explicitly specified here. 49# 50# 51# 52# Normally, for fast builds, libraries with the same optimization options as in libnn_demo.fast are linked, but optimization options such as libnn_demo.fast can also be explicitly specified. 53# 54# 55# 56LIBS += lib_demo lib_applet 57 58 59# Specifies the shader include directory. 60SHADER_INCLUDES += ../gx/DMPGL/Common 61 62# Specifies the shader source code. 63SHADER_SOURCES[] = 64 shaders/VShader.vsh 65 66# Specifies directory to output the shader binary. 67SHBIN_INSTALL_ROOT = $(EMPTY) 68 69# Link binary 70OBJECTS[] = 71 $`(ObjectFromBinary $(TARGET), $`(getShaderObjectDirectory)/shader.shbin) 72 $`(ObjectFromBinary $(TARGET), data/sound.dat) 73 74MANUAL_DIR = manual # When creating an application with an e-manual, specify the directory containing the application's e-manual. 75 # 76 77# Describes the program name. 78# No extension is needed. 79TARGET_PROGRAM = demo1 80 81# When specifying a proprietary RSF file, describe as shown below. 82ROM_SPEC_FILE = demo1.rsf 83 84# Banner, icon 85CTR_BANNER_SPEC = demo1.bsf 86 87include $(ROOT_OMAKE)/modulerules 88 89build: $(DEFAULT_TARGETS) 90