1#!/usr/bin/env omake
2#----------------------------------------------------------------------------
3# Project:  Horizon
4# File:     OMakefile
5#
6# Copyright (C)2009-2012 Nintendo Co., Ltd.  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# $Rev: 46365 $
15#----------------------------------------------------------------------------
16SUPPORTED_TARGETS                   =   CTR-TS.Process.MPCore.*
17
18CTR_APPTYPE                         =   CARD SD
19
20SAMPLED_DEMOS_COMMON_INCLUDE_DIR    =   $(dir ../../common/include)
21
22INCLUDES                            +=  $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR)
23
24SOURCES[]                           =
25                                        SimpleServer.cpp
26                                        Parent.cpp
27
28TARGET_PROGRAM                      =   SimpleServer
29
30ROM_SPEC_FILE                       =   SimpleServer.rsf
31
32LIBS                                +=  lib_demo
33
34CHILD_APPS[]                        =
35                                        ../Child_0/images/$(BUILD_TARGET_DIR)/$(BUILD_TYPE_DIR)/Child_0.cia
36                                        ../Child_1/images/$(BUILD_TARGET_DIR)/$(BUILD_TYPE_DIR)/Child_1.cia
37
38include $(ROOT_OMAKE)/modulerules
39build: $(DEFAULT_TARGETS)
40