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
17SUPPORTED_TARGETS  = CTR-*.Process.MPCore.*
18SOURCES[]          = sources/main.cpp
19TARGET_PROGRAM     = withSdk
20
21#----------------------------------------------------------------------------
22# ROM�Ɋ܂߂�t�@�C���̃��[�g���L�q���܂��B
23# ���̃p�X�ȉ��̃t�@�C���́AROM�Ɋ܂܂�t�@�C���V�X�e������ǂݍ��߂܂��B
24ROMFS_ROOT         = romfiles
25
26# GetShaderFile �Ȃǂ́Ademos/snd/OMakefile �ɒ�`����Ă��܂��B
27SHADER_PATH        = $(GetShaderFile  $(ROMFS_ROOT))
28SARC_PATH          = $(GetBcsarStream $(ROMFS_ROOT), simple)
29BCWAV_PATH         = $(GetSinBcwav    $(ROMFS_ROOT))
30
31ROMFS_DEPENDENCIES = $(SARC_PATH) $(SHADER_PATH) $(BCWAV_PATH)
32
33#----------------------------------------------------------------------------
34include $(NW4C_ROOT)/build/omake/modulerules
35
36build: $(DEFAULT_TARGETS)
37