1#!/usr/bin/env omake
2#----------------------------------------------------------------------------
3# Project:  NintendoWare
4# File:     OMakefile
5#
6# Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc.  All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain proprietary
9# information of Nintendo and/or its licensed developers and are protected by
10# national and international copyright laws. They may not be disclosed to third
11# parties or copied or duplicated in any form, in whole or in part, without the
12# prior written consent of Nintendo.
13#
14# The content herein is highly confidential and should be handled accordingly.
15#
16# $Revision: $
17#----------------------------------------------------------------------------
18
19# �v���Z�X���T�|�[�g����^�[�Q�b�g���L�q���܂��B
20# �V�X�e�����͕K�� Process �ɂȂ�͂��ł��B
21SUPPORTED_TARGETS   =   CTR-*.Process.MPCore.*
22
23# ���f���Z�b�g���w�肵�܂��B
24MODEL_SET_NAME = fountain_particle_all.bcptl
25MODEL_SET[] =
26            $(NW4C_ROOT)/SampleData/Effect/Intermediate/ProgramResource/Fountain_Particle/Fountain_Particle.cptl
27            $(NW4C_ROOT)/SampleData/Effect/Intermediate/ProgramResource/Fountain_Particle/Fountain_Drop.ctex
28            $(NW4C_ROOT)/SampleData/Effect/Intermediate/ProgramResource/Fountain_Particle/Fountain_Ripple.ctex
29
30# ���̑��̃��\�[�X�t�@�C�����w�肵�܂��B
31RESOURCE_FILES[] =
32            $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Environment/SceneEnvironmentSetting.cenv
33            $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Environment/FragmentLight.cenv
34
35# �v���O���������w�肵�܂��B
36TARGET_PROGRAM      =   ParticleLowLayerDemo
37
38# �r���h����\�[�X�R�[�h���w�肵�܂��B
39SOURCES[]           =   sources/$(TARGET_PROGRAM).cpp
40
41# ROM�Ɋ܂߂�t�@�C���̃��[�g���L�q���܂��B
42# ���̃p�X�ȉ��̃t�@�C���́AROM�Ɋ܂܂�t�@�C���V�X�e������ǂݍ��߂܂��B
43ROMFS_ROOT          =   romfiles
44
45# �o�C�i���R���o�[�g�̃I�v�V�������w�肵�܂��B
46MODEL_OPTION = --auto_create_shader=on
47
48RESOURCE_OPTION = --auto_create_shader=off
49
50MODEL_TARGET = $(GfxBinaryObject $(ROMFS_ROOT)/$(MODEL_SET_NAME), $(MODEL_SET), $(MODEL_OPTION))
51
52RESOUCE_TARGETS = $(GfxBinaryObjects $(ROMFS_ROOT), $(RESOURCE_FILES), $(RESOURCE_OPTION))
53
54ROMFS_DEPENDENCIES = $(MODEL_TARGET) $(RESOUCE_TARGETS)
55
56include $(NW4C_ROOT)/build/omake/modulerules
57
58build: $(DEFAULT_TARGETS)
59
60resource: $(ROMFS_DEPENDENCIES)