1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - MB - demos - multiboot-wfs
4# File:     make_common
5#
6# Copyright 2005-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::            $
15# $Rev:$
16# $Author:$
17#----------------------------------------------------------------------------
18
19# Because the MB library samples use the multiboot functionality, multiple development units with the same communications environment (wired or wireless) are required.
20# The mb_child.bin sample program in the $TwlSDK/bin/ARM9-TS/Release directory provides the same functionality as a commercial system that is a multiboot child. Load this binary on other systems just like a sample program and run them together.
21#
22#
23#
24#
25#
26
27#----------------------------------------------------------------------------
28
29
30TWL_MAKEROM		 =	TRUE
31TWL_DIGEST		 =	TRUE
32
33TARGET_BIN		 =	main.srl
34
35SRCDIR			 =	../common/src ./src
36INCDIR			 =	../common/include ./include
37
38# Demo application framework
39SRCS			 =	common.c util.c font.c
40
41# This sample uses the WH module
42WH_DIR			 =	$(ROOT)/build/demos/wireless_shared/wh
43SRCS			+=	$(WH_DIR)/wh.c
44LINCLUDES		 =	$(WH_DIR)
45
46# Moved the wireless file system (WFS) module to wireless_shared
47WFS_DIR			 =	$(ROOT)/build/demos/wireless_shared/wfs
48SRCS			+=	$(WFS_DIR)/src/wfs_common.c
49
50LINCLUDES		+=	$(WFS_DIR)/include
51
52#===== End of make_common =====
53