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 = Male.bcmdl 25 26MODEL_SET[] = 27 $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Male/Male.cmdl 28 $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Male/Male.ctex 29 30# ���̑��̃��\�[�X�t�@�C�����w�肵�܂��B 31RESOURCE_FILES[] = 32 $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Environment/FragmentLight.cenv 33 $(NW4C_ROOT)/SampleData/Graphics/Intermediate/ProgramResource/Male/Walk.cskla 34 35# 2D �̐}�`�̕`��p�̃V�F�[�_�[�t�@�C�����w�肵�܂��B 36SHAPE_2D_SHADER_SHBIN = $(NW4C_ROOT)/shaders/nwdemo_Common.shbin 37 38# �v���O���������w�肵�܂��B 39TARGET_PROGRAM = LowLayerAnimationDemo 40 41# �r���h����\�[�X�R�[�h���w�肵�܂��B 42SOURCES[] = sources/$(TARGET_PROGRAM).cpp 43 44# ROM�Ɋ܂߂�t�@�C���̃��[�g���L�q���܂��B 45# ���̃p�X�ȉ��̃t�@�C���́AROM�Ɋ܂܂�t�@�C���V�X�e������ǂݍ��߂܂��B 46ROMFS_ROOT = romfiles 47 48# �o�C�i���R���o�[�g�̃I�v�V�������w�肵�܂��B 49MODEL_OPTION = --auto_create_shader=on 50 51RESOURCE_OPTION = --auto_create_shader=off 52 53MODEL_TARGET = $(GfxBinaryObject $(ROMFS_ROOT)/$(MODEL_SET_NAME), $(MODEL_SET), $(MODEL_OPTION)) 54 55RESOUCE_TARGETS = $(GfxBinaryObjects $(ROMFS_ROOT), $(RESOURCE_FILES), $(RESOURCE_OPTION)) 56 57ROMFS_DEPENDENCIES = $(MODEL_TARGET) $(RESOUCE_TARGETS) 58 59include $(NW4C_ROOT)/build/omake/modulerules 60 61build: $(DEFAULT_TARGETS) 62 63resource: $(ROMFS_DEPENDENCIES)