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# Describes the target that the process supports. 18# The system name should always be "Process". 19SUPPORTED_TARGETS = CTR-T*.Process.MPCore.* 20 21SAMPLED_DEMOS_COMMON_INCLUDE_DIR = $(dir ../common/include) 22INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) 23 24# Specifies the source code to build. 25SOURCES[] = 26 demo2.cpp 27 graphics.cpp 28 mic.cpp 29 snd.cpp 30 31 32# Specify the libraries to link. No extension is needed. 33# Although several standard libraries are automatically linked by the build system, libraries provided for a specific process must be explicitly specified here. 34# 35# 36# 37# 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. 38# 39# 40# 41LIBS += lib_demo lib_applet 42 43 44# Specifies the shader source code. 45SHADER_SOURCES[] = 46 shaders/VShader.vsh 47 48# Specifies directory to output the shader binary. 49SHBIN_INSTALL_ROOT = romfiles 50 51 52# Describes the program name. 53# No extension is needed. 54TARGET_PROGRAM = demo2 55 56# Specifies the parameters to pass to RSF. 57ROMFS_ROOT = romfiles # ROMFS root path 58TITLE = demo2 # Application title 59 60CTR_BANNER_SPEC = demo2.bsf 61 62include $(ROOT_OMAKE)/modulerules 63 64build: $(DEFAULT_TARGETS) 65