1#!/usr/bin/env omake
2#----------------------------------------------------------------------------
3# Project:  NintendoWare
4# File:     modulerules.om
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: 11329 $
15#----------------------------------------------------------------------------
16
17if $(not $(defined DEFAULT_TARGETS))
18    DEFAULT_TARGETS =
19    export
20
21if $(defined PRECOMPILED_SOURCES)
22    foreach(CONFIG, $(BUILDER.getTargets $(SUPPORTED_TARGETS)))
23        DEFAULT_TARGETS += $(PrecompiledHeader $(CONFIG), $(PRECOMPILED_SOURCES))
24        export
25    export
26
27if $(defined TARGET_LIBRARY_SHADER)
28    DEFAULT_TARGETS += $(VertexShader $(TARGET_LIBRARY_SHADER), $(SOURCES), true)
29    export
30
31include $(getenv CTRSDK_ROOT)/build/omake/modulerules
32
33
34