1###############################################################################
2# Makefile for enc demo
3#
4# Copyright 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# $Log: makefile,v $
13# Revision 1.6  2008/09/05 09:40:49  nrs_buildsystem
14# Changed all command to adopt "make -j option(parallel processing)" (by yasuh-to).
15#
16# Revision 1.5  2006/12/26 00:54:23  yoshioka_yasuhiro
17# Added encalternate.
18#
19# Revision 1.4  2006/10/27 12:22:09  yoshioka_yasuhiro
20# Deleted test demo.
21#
22# Revision 1.3  2006/10/27 12:21:22  yoshioka_yasuhiro
23# Divided demos.
24#
25# Revision 1.2  2006/08/11 10:17:29  yoshioka_yasuhiro
26# Added encunicode
27#
28# Revision 1.1  2006/08/07 06:43:09  yoshioka_yasuhiro
29# Initial commit.
30#
31# $NoKeywords: $
32###############################################################################
33
34all:
35	$(MAKE) setup
36	$(MAKE) build
37	$(MAKE) install
38
39include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs
40
41MODULENAME	= encdemo
42DEMO		= TRUE
43
44LCF_FILE        = $(INC_ROOT)/revolution/eppc.$(ARCH_TARGET).lcf
45
46CSRCS		= sample.c      \
47              validate.c    \
48              unicode.c     \
49              japanese.c    \
50              latin.c       \
51              alternate.c
52
53BINNAMES 	= encsample     \
54              encunicode    \
55              encjapanese   \
56              enclatin      \
57              encalternate
58
59include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules
60
61$(FULLBIN_ROOT)/encsample$(BINSUFFIX):sample.o $(REVOLUTION_LIBS)
62
63$(FULLBIN_ROOT)/encunicode$(BINSUFFIX):unicode.o $(REVOLUTION_LIBS)
64
65$(FULLBIN_ROOT)/encjapanese$(BINSUFFIX):japanese.o validate.o $(REVOLUTION_LIBS)
66
67$(FULLBIN_ROOT)/enclatin$(BINSUFFIX):latin.o validate.o $(REVOLUTION_LIBS)
68
69$(FULLBIN_ROOT)/encalternate$(BINSUFFIX):alternate.o $(REVOLUTION_LIBS)
70
71#======== End of makefile ========#
72