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