1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - GX - demos - UnitTours/DEMOLib
4# File:     Makefile
5#
6# Copyright 2003-2008 Nintendo. All rights reserved.
7#
8# These coded instructions, statements, and computer programs contain
9# proprietary information of Nintendo of America Inc. and/or Nintendo
10# Company Ltd., and are protected by Federal copyright law. They may
11# not be disclosed to third parties or copied or duplicated in any form,
12# in whole or in part, without the prior written consent of Nintendo.
13#
14# $Date:: 2008-12-24#$
15# $Rev: 9728 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18TARGET_PLATFORM	= TWL NITRO
19
20SUBDIRS			=
21
22#----------------------------------------------------------------------------
23
24SRCS			 =	DEMOKey.c		\
25					DEMOInit.c		\
26					DEMOUtility.c	\
27					DEMOFont.c		\
28					DEMOBitmap.c	\
29					DEMOWave.c		\
30					DEMOHostio.c
31
32TARGET_LIB		 =	libDEMO$(TWL_LIBSUFFIX).a
33
34# Create libraries for both HYBRID and LIMITED.
35TWL_ARCHGEN		?=	ALL
36
37include	$(TWLSDK_ROOT)/build/buildtools/commondefs
38
39ifdef	TWLSDK_INSTALL_ROOT
40INSTALL_TARGETS	 =	$(TARGETS)
41INSTALL_DIR		 =	$(TWL_INSTALL_ROOT)/build/demos/gx/UnitTours/DEMOLib/lib/$(TWL_BUILDTYPE)
42endif # TWLSDK_INSTALL_ROOT
43
44
45#----------------------------------------------------------------------------
46
47do-build:		$(TARGETS)
48
49
50include	$(TWLSDK_ROOT)/build/buildtools/modulerules
51
52
53#===== End of Makefile =====
54