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