1###############################################################################
2# Makefile for sampledemo
3#
4# Copyright 2005,2006 Nintendo.  All rights reserved.
5#
6# These coded instructions, statements, and computer programs contain
7# proprietary information of Nintendo of America Inc. and/or Nintendo
8# Company Ltd., and are protected by Federal copyright law.  They may
9# not be disclosed to third parties or copied or duplicated in any form,
10# in whole or in part, without the prior written consent of Nintendo.
11#
12# $Id: makefile,v 1.6 2007/05/14 11:37:17 hatamoto_minoru Exp $
13###############################################################################
14
15all:    install
16
17include $(REVOLUTION_EXT_ROOT)/build/buildtools/commondefs
18include $(REVOLUTION_EXT_ROOT)/build/demos/share/commondefs.demoshare
19
20MODULENAME	= mpdemo
21DEMO		= TRUE
22REX_NETDEMO	= TRUE
23
24LCF_FILE        = $(INC_ROOT)/revolution/eppc.$(ARCH_TARGET).lcf
25
26CSRCS		= mpsimple.c \
27              mpsimpleAsync.c
28
29BINNAMES 	= mpsimple \
30              mpsimpleAsync
31
32include $(REVOLUTION_EXT_ROOT)/build/buildtools/modulerules
33include $(REVOLUTION_EXT_ROOT)/build/demos/share/modulerules.demoshare
34
35$(FULLBIN_ROOT)/mpsimple$(BINSUFFIX):mpsimple.o $(REX_DEMOSHARE_OBJS) $(REVOLUTION_LIBS) $(REX_LIBS)
36
37$(FULLBIN_ROOT)/mpsimpleAsync$(BINSUFFIX):mpsimpleAsync.o $(REX_DEMOSHARE_OBJS) $(REVOLUTION_LIBS) $(REX_LIBS)
38
39#======== End of makefile ========#
40