#!/usr/bin/env omake #---------------------------------------------------------------------------- # Project: NintendoWare # File: OMakefile # # Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. # # These coded instructions, statements, and computer programs contain proprietary # information of Nintendo and/or its licensed developers and are protected by # national and international copyright laws. 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. # # The content herein is highly confidential and should be handled accordingly. # # $Revision: $ #---------------------------------------------------------------------------- SUPPORTED_TARGETS = CTR-*.Process.MPCore.* SOURCES[] = sources/main.cpp TARGET_PROGRAM = ResFont FONT_OPTIONS = -i win -in Tahoma -is 16 -ic A6 -ia -o bcfnt -f resources/iso8859_1.xllt SHADER_BIN = nwfont_TextWriterShader.shbin INCLUDES += # ROMに含めるファイルのルートを記述します。 # このパス以下のファイルは、ROMに含まれファイルシステムから読み込めます。 ROMFS_ROOT = romfiles SHADER_PATH = $(ROMFS_ROOT)/$(SHADER_BIN) FONT_FILE = $(ROMFS_ROOT)/tahoma.bcfnt 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 $< $@