1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - demos - el - dllB
4# File:     Makefile
5#
6# Copyright 2007-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#----------------------------------------------------------------------------
18
19TARGET_PLATFORM	:= TWL
20
21SRCS			 =	dllB.c
22TARGET_LIB		 =	dllB$(TWL_LIBSUFFIX).a
23
24LINCLUDES		 =	../simple-2_dllA/include
25
26LDIRT_CLEAN		 = $(wildcard dllB.*.a) $(wildcard dllB_debug.*.a)
27
28include	$(TWLSDK_ROOT)/build/buildtools/commondefs
29
30#----------------------------------------------------------------------------
31
32SUBDIRS			 =
33
34#----------------------------------------------------------------------------
35
36#SRCDIR			 =	# using default
37#LCFILE			 =	# using default
38
39#----------------------------------------------------------------------------
40
41do-build:		$(TARGETS) strip_dllB$(TWL_LIBSUFFIX).a
42
43strip_dllB$(TWL_LIBSUFFIX).a:		$(LIBDIR)/dllB$(TWL_LIBSUFFIX).a
44	cp $(LIBDIR)/dllB$(TWL_LIBSUFFIX).a dllB_debug$(TWL_LIBSUFFIX).a
45	$(STRIPDEBUG) -o dllB$(TWL_LIBSUFFIX).a -O dllB_debug$(TWL_LIBSUFFIX)_for_debugger.a dllB_debug$(TWL_LIBSUFFIX).a
46	cp dllB_debug$(TWL_LIBSUFFIX)_for_debugger.a dllB_debug$(TWL_LIBSUFFIX).a
47	cp dllB$(TWL_LIBSUFFIX).a ../simple-2_static/data/dllB.a
48	cp dllB_debug$(TWL_LIBSUFFIX).a ../simple-2_static/data/dllB_debug.a
49
50include	$(TWLSDK_ROOT)/build/buildtools/modulerules
51
52#===== End of Makefile =====
53