1#!/usr/bin/env omake
2#----------------------------------------------------------------------------
3# Project:  NintendoWare
4# File:     OMakefile
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:$
15#----------------------------------------------------------------------------
16SUPPORTED_TARGETS   =   CTR-*.Process.MPCore.*
17
18INSTALL_ROOT       = $(getenv NW4C_ROOT)
19
20INCLUDES           +=   $(NW_INCLUDES)
21
22SOURCES[]           =
23                        demo_DisplayBufferSwapper.cpp
24                        demo_CommandListSwapper.cpp
25                        demo_GraphicsSystem.cpp
26                        demo_GraphicsMemoryAllocator.cpp
27                        demo_GraphicsDrawing.cpp
28                        demo_Memory.cpp
29                        demo_Utility.cpp
30                        demo_DebugUtility.cpp
31                        demo_AutoTester.cpp
32                        demo_SimpleApp.cpp
33                        demo_Pad.cpp
34                        demo_PadButton.cpp
35                        demo_CameraController.cpp
36                        demo_Particle.cpp
37                        demo_HioPacketChannel.cpp
38
39TARGET_LIBRARY      =   libnw_demo
40
41HOST_IO=true
42CCFLAGS             +=  -DNW_AUTO_TEST=1
43
44
45include $(ROOT)/build/omake/modulerules
46
47build: $(DEFAULT_TARGETS)
48
49DefineDefaultRules()
50