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