1###############################################################################
2# ARC demo makefile
3#
4# Copyright (C) 2001-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.2  04/21/2006 01:20:42  hiratsu
14# Added setup & install.
15#
16# Revision 1.1  04/19/2006 10:47:31  hiratsu
17# Initial check-in.  Ported from Dolphin.
18#
19#
20#   1     7/03/01 3:18a Hashida
21#   Initial revision.
22#
23# $NoKeywords: $
24#
25###############################################################################
26
27# tests are NOT installed.
28all:    setup build install
29
30# module name should be set to the name of this subdirectory
31MODULENAME  = arcdemo
32DEMO        = TRUE
33
34include $(REVOLUTION_SDK_ROOT)/build/buildtools/commondefs
35
36
37CSRCS    = arctest1.c arctest2.c arctest3.c
38
39LCF_FILE = $(INC_ROOT)/revolution/eppc.$(ARCH_TARGET).lcf
40
41BINNAMES = arctest1 arctest2 arctest3
42
43ARCLIB   = $(INSTALL_ROOT)/lib/arc$(LIBSUFFIX)
44
45
46# additional targets may be added here
47
48include $(REVOLUTION_SDK_ROOT)/build/buildtools/modulerules
49
50# Dependencies and rules for any added rules may be placed here to take
51# advantage of commondefs.
52
53$(FULLBIN_ROOT)/arctest1$(BINSUFFIX): arctest1.o \
54              $(REVOLUTION_LIBS) $(ARCLIB)
55
56$(FULLBIN_ROOT)/arctest2$(BINSUFFIX): arctest2.o \
57              $(REVOLUTION_LIBS) $(ARCLIB)
58
59$(FULLBIN_ROOT)/arctest3$(BINSUFFIX): arctest3.o \
60              $(REVOLUTION_LIBS) $(ARCLIB)
61
62