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