#!/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: $ #---------------------------------------------------------------------------- GEOMETRY_SHADER_INCLUDES[] = # シェーダーファイルを指定します。 SOURCES[] = gfx_ShadowShader.vsh TransformMatrix.vsh # シェーダーの依存ファイルを含んだフォルダを指定します。 VERTEX_SHADER_INCLUDES[] = ../ TARGET_LIBRARY_SHADER = nwgfx_ShadowShader CSDR_TARGET = nwgfx_DefaultShader.csdr include $(ROOT)/build/omake/modulerules INSTALL_CSDR = $(NW4C_ROOT)/shaders/$(CSDR_TARGET) build: $(DEFAULT_TARGETS) # python が無い環境で問題が出たので、ひとまず omake への組み込みを中止 #.PHONY: build-csdr # # build-csdr : $(INSTALL_CSDR) # #$(INSTALL_CSDR) : $(IMAGES_DIR)$(DIRSEP)$(CSDR_TARGET) # cp -f $< $@ # #$(IMAGES_DIR)$(DIRSEP)$(CSDR_TARGET) : $(IMAGES_DIR)$(DIRSEP)$(TARGET_LIBRARY_SHADER).shbin # python $(NW4C_ROOT)/tools/ShbinToCsdr/ShbinToCsdr.py $< > $@ DefineDefaultRules()