#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: NintendoWare # File: OMakefile # # Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. # # These coded instructions, statements, and computer programs contain # proprietary information of Nintendo of America Inc. and/or Nintendo # Company Ltd., and are protected by Federal copyright law. They may # not be disclosed to third parties or copied or duplicated in any form, # in whole or in part, without the prior written consent of Nintendo. # # $Revision:$ #---------------------------------------------------------------------------- SUPPORTED_TARGETS = CTR-*.Process.MPCore.* SOURCES[] = sources/main.cpp TARGET_PROGRAM = PackedFont FONT_OPTIONS = -i win -in Tahoma -is 16 -ic A6 -ia -o bcfnt -op resources/layoutDemo.xggp -f resources/layoutDemo.xllt SHADER_BIN = nwfont_TextWriterShader.shbin INCLUDES += # ROMに含めるファイルのルートを記述します。 # このパス以下のファイルは、ROMに含まれファイルシステムから読み込めます。 ROMFS_ROOT = romfiles SHADER_PATH = $(ROMFS_ROOT)/$(SHADER_BIN) FONT_FILE = $(ROMFS_ROOT)/tahoma.bcfna ROMFS_DEPENDENCIES = $(FONT_FILE) $(SHADER_PATH) include $(NW4C_ROOT)/build/omake/modulerules build: $(DEFAULT_TARGETS) $(FONT_FILE): mkdir -p $(dirname $@) $(FONT_CONVERTER) -of $@ $(FONT_OPTIONS) $(SHADER_PATH): $(NW4C_ROOT)/shaders/$(SHADER_BIN) mkdir -p $(dirname $@) cp $< $@