1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - WM - libraries
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-09-18#$
15# $Rev: 8573 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18override TARGET_PLATFORM = NITRO
19
20# Codegen for sub processer
21NITRO_PROC		 =  ARM9
22NITRO_CODEGEN	?= ALL
23
24SRCDIR			 = ./src
25INCDIR			 = ../inc ./inc
26
27SRCS			 = 	wm_system.c		\
28					wm_sync.c		\
29					wm_standard.c	\
30					wm_mp.c			\
31					wm_dcf.c		\
32					wm_ds.c			\
33					wm_ks.c			\
34					wm_etc.c		\
35
36
37TARGET_LIB		 = libwm$(NITRO_LIBSUFFIX).a
38
39include	$(TWLSDK_ROOT)/build/buildtools/commondefs
40
41INSTALL_TARGETS	 = $(TARGETS)
42
43INSTALL_DIR		 = $(NITRO_INSTALL_LIBDIR)
44
45GDIRT_INSTALLED	 = $(addprefix $(INSTALL_DIR)/,$(notdir $(INSTALL_TARGETS)))
46
47#----------------------------------------------------------------------------
48
49do-build:		$(TARGETS)
50
51include	$(TWLSDK_ROOT)/build/buildtools/modulerules
52
53
54#===== End of Makefile =====
55