#! make -f
#----------------------------------------------------------------------------
# Project:  NitroSDK - WM - demos
# File:     Makefile
#
# Copyright 2003,2004 Nintendo.  All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law.  They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# $Log: makefile,v $
# Revision 1.14  2004/11/05 04:27:40  sasakis
# Added a lobby screen, parent selection screen, and made relevant changes (related to scan etc.)
#
# Revision 1.13  2004/11/02 07:15:01  sasakis
# Forgotten makefile revisions
#
# Revision 1.12  2004/11/02 07:12:55  sasakis
# Organize code
#
# Revision 1.11  2004/11/01 04:11:44  sasakis
# Added code, etc to take care of dropping processes. (provisional version includes code that is being worked on)
#
# Revision 1.10  2004/10/22 07:35:18  sasakis
# Support for shared wh.
#
# Revision 1.9  2004/10/21 00:43:23  yosizaki
# add SHARED_WH switch.
#
# Revision 1.8  2004/10/06 05:11:35  sasakis
# Added graph display etc.
#
# Revision 1.7  2004/09/30 00:00:29  takano_makoto
# Deleted settings
#
# Revision 1.6  2004/09/22 09:39:33  sasakis
# Added debug screen. 
#
# Revision 1.5  2004/09/17 09:13:30  sasakis
# Revised so that parent can use MeasureChannel to find least crowded channel. 
#  (But conditions have not been set.) 
#
# Revision 1.4  2004/09/15 10:23:40  sasakis
# Added signal strength icon. Made data size adjustable, etc. 
#
# Revision 1.3  2004/09/10 08:44:52  sasakis
# Added processing in conformity with guidelines. Revised error-related sections. 
#
# Revision 1.2  2004/09/08 01:52:52  sasakis
# Improved error/disconnection sections. 
#
# Revision 1.1  2004/09/07 04:59:42  sasakis
# Initial version. 
#
# $NoKeywords: $
#----------------------------------------------------------------------------

SUBDIRS         =

#----------------------------------------------------------------------------

INCDIR			=	./include
SRCDIR			=	./src
SRCS            = \
                main.c          \
                print.c         \
		key.c		\
		graphics.c	\
                font.c          \
		menu.c		\
                icon.c

WH_DIR		=  $(ROOT)/build/demos/wireless_shared/wh
SRCDIR		+= $(WH_DIR)
INCDIR		+= $(WH_DIR)
SRCS		+= $(WH_DIR)/wh.c
MACRO_FLAGS	+= -DSHARED_WH

TARGET_BIN      = main.srl

include $(NITROSDK_ROOT)/build/buildtools/commondefs

#----------------------------------------------------------------------------

do-build:       $(TARGETS)

include $(NITROSDK_ROOT)/build/buildtools/modulerules

#===== End of Makefile =====
