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