1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - demos - el - dllA
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			 =	dllA.c
22TARGET_LIB		 =	dllA$(TWL_LIBSUFFIX).a
23
24LINCLUDES		 =	../simple-2_dllB/include
25
26LDIRT_CLEAN		 = $(wildcard dllA.*.a) $(wildcard dllA_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_dllA$(TWL_LIBSUFFIX).a
42
43strip_dllA$(TWL_LIBSUFFIX).a:		$(LIBDIR)/dllA$(TWL_LIBSUFFIX).a
44	cp $(LIBDIR)/dllA$(TWL_LIBSUFFIX).a dllA_debug$(TWL_LIBSUFFIX).a
45	$(STRIPDEBUG) -o dllA$(TWL_LIBSUFFIX).a -O dllA_debug$(TWL_LIBSUFFIX)_for_debugger.a dllA_debug$(TWL_LIBSUFFIX).a
46	cp dllA_debug$(TWL_LIBSUFFIX)_for_debugger.a dllA_debug$(TWL_LIBSUFFIX).a
47	cp dllA$(TWL_LIBSUFFIX).a ../simple-2_static/data/dllA.a
48	cp dllA_debug$(TWL_LIBSUFFIX).a ../simple-2_static/data/dllA_debug.a
49
50include	$(TWLSDK_ROOT)/build/buildtools/modulerules
51
52#===== End of Makefile =====
53