1#!/usr/bin/env omake
2#----------------------------------------------------------------------------
3# Project:  NintendoWare
4# File:     OMakefile
5#
6# Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc.  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# $Revision:$
15#----------------------------------------------------------------------------
16
17# �v���Z�X���T�|�[�g����^�[�Q�b�g���L�q���܂��B
18# �V�X�e�����͕K�� Process �ɂȂ�͂��ł��B
19SUPPORTED_TARGETS   =   CTR-*.Process.MPCore.*
20
21# ���f���Z�b�g���w�肵�܂��B
22MODEL_SET_NAME = fountain_particle_all.bcptl
23MODEL_SET[] =
24            $(NW4C_ROOT)/SampleData/Effect/Intermediate/ProgramResource/Fountain_Particle/Fountain_Particle.cptl
25            $(NW4C_ROOT)/SampleData/Effect/Intermediate/ProgramResource/Fountain_Particle/Fountain_Drop.ctex
26            $(NW4C_ROOT)/SampleData/Effect/Intermediate/ProgramResource/Fountain_Particle/Fountain_Ripple.ctex
27
28# ���̑��̃��\�[�X�t�@�C�����w�肵�܂��B
29RESOURCE_FILES[] =
30            $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Environment/SceneEnvironmentSetting.cenv
31            $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Environment/FragmentLight.cenv
32
33# �v���O���������w�肵�܂��B
34TARGET_PROGRAM      =   ParticleLowLayerDemo
35
36# �r���h����\�[�X�R�[�h���w�肵�܂��B
37SOURCES[]           =   sources/$(TARGET_PROGRAM).cpp
38
39# ROM�Ɋ܂߂�t�@�C���̃��[�g���L�q���܂��B
40# ���̃p�X�ȉ��̃t�@�C���́AROM�Ɋ܂܂�t�@�C���V�X�e������ǂݍ��߂܂��B
41ROMFS_ROOT          =   romfiles
42
43# �o�C�i���R���o�[�g�̃I�v�V�������w�肵�܂��B
44MODEL_OPTION = --auto_create_shader=on
45
46RESOURCE_OPTION = --auto_create_shader=off
47
48MODEL_TARGET = $(GfxBinaryObject $(ROMFS_ROOT)/$(MODEL_SET_NAME), $(MODEL_SET), $(MODEL_OPTION))
49
50RESOUCE_TARGETS = $(GfxBinaryObjects $(ROMFS_ROOT), $(RESOURCE_FILES), $(RESOURCE_OPTION))
51
52ROMFS_DEPENDENCIES = $(MODEL_TARGET) $(RESOUCE_TARGETS)
53
54include $(NW4C_ROOT)/build/omake/modulerules
55
56build: $(DEFAULT_TARGETS)
57
58resource: $(ROMFS_DEPENDENCIES)