1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - demos - wvr - with_mb - child
4# File:     Makefile
5#
6# Copyright 2003-2008 Nintendo. 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# $Date:: 2008-12-22#$
15# $Rev: 9714 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18
19TARGET_PLATFORM :=  NITRO
20
21INCDIR      =   ../common/include ./include
22SRCDIR      =   ./src ../common/src
23
24LLIBRARIES  =   libwvr$(NITRO_LIBSUFFIX).a
25
26SRCS        =   main.c      \
27                font.c      \
28                disp.c      \
29                common.c    \
30                gmain.c
31
32# WH module was moved to wireless_shared
33WH_DIR      =   $(ROOT)/build/demos/wireless_shared/wh
34SRCDIR      +=  $(WH_DIR)
35INCDIR      +=  $(WH_DIR)
36SRCS        +=  $(WH_DIR)/wh.c
37MACRO_FLAGS += -DSHARED_WH
38
39
40TARGET_BIN  =   child.srl
41
42#------------------------------------------------------#
43# Component definition where the wireless library is positioned inside VRAM #
44MY_COMPONENT_NAME   =   ichneumon
45MAKEROM_ARM7        =   $(NITRO_COMPONENTSDIR)/$(MY_COMPONENT_NAME)/$(NITRO_BUILDTYPE_ARM7)/$(MY_COMPONENT_NAME)_sub.$(NITRO_ELF_EXT)
46#------------------------------------------------------#
47
48include $(TWLSDK_ROOT)/build/buildtools/commondefs
49
50
51#-------------------------------#
52#   Install target              #
53#-------------------------------#
54INSTALL_TARGETS =   $(TARGETS)
55
56INSTALL_DIR = ../data
57
58
59#----------------------------------------------------------------------------
60
61do-build:       $(TARGETS)
62
63include $(TWLSDK_ROOT)/build/buildtools/modulerules
64
65
66
67#===== End of Makefile =====
68