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 19SUPPORTED_TARGETS = CTR-*.Process.MPCore.* 20 21SOURCES[] = 22 sources/main.cpp 23 24TARGET_PROGRAM = PackedFont 25 26FONT_OPTIONS = -i win -in Tahoma -is 16 -ic A6 -ia -o bcfnt -op resources/layoutDemo.xggp -f resources/layoutDemo.xllt 27 28SHADER_BIN = nwfont_TextWriterShader.shbin 29 30INCLUDES += 31 32# ROM�Ɋ܂߂�t�@�C���̃��[�g���L�q���܂��B 33# ���̃p�X�ȉ��̃t�@�C���́AROM�Ɋ܂܂�t�@�C���V�X�e������ǂݍ��߂܂��B 34ROMFS_ROOT = romfiles 35 36SHADER_PATH = $(ROMFS_ROOT)/$(SHADER_BIN) 37 38FONT_FILE = $(ROMFS_ROOT)/tahoma.bcfna 39 40ROMFS_DEPENDENCIES = $(FONT_FILE) $(SHADER_PATH) 41 42include $(NW4C_ROOT)/build/omake/modulerules 43 44build: $(DEFAULT_TARGETS) 45 46$(FONT_FILE): 47 mkdir -p $(dirname $@) 48 $(FONT_CONVERTER) -of $@ $(FONT_OPTIONS) 49 50$(SHADER_PATH): $(NW4C_ROOT)/shaders/$(SHADER_BIN) 51 mkdir -p $(dirname $@) 52 cp $< $@ 53