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
24LDIRT_CLEAN		 = dllA$(TWL_LIBSUFFIX).a dllA_debug$(TWL_LIBSUFFIX).a
25
26include	$(TWLSDK_ROOT)/build/buildtools/commondefs
27
28#----------------------------------------------------------------------------
29
30SUBDIRS			 =
31
32#----------------------------------------------------------------------------
33
34#SRCDIR			 =	# using default
35#LCFILE			 =	# using default
36
37#----------------------------------------------------------------------------
38
39do-build:		$(TARGETS) strip_dllA$(TWL_LIBSUFFIX).a
40
41strip_dllA$(TWL_LIBSUFFIX).a:		$(LIBDIR)/dllA$(TWL_LIBSUFFIX).a
42	cp $(LIBDIR)/dllA$(TWL_LIBSUFFIX).a dllA_debug$(TWL_LIBSUFFIX).a
43	$(STRIPDEBUG) -o dllA$(TWL_LIBSUFFIX).a -O dllA_debug$(TWL_LIBSUFFIX)_for_debugger.a dllA_debug$(TWL_LIBSUFFIX).a
44	cp dllA_debug$(TWL_LIBSUFFIX)_for_debugger.a dllA_debug$(TWL_LIBSUFFIX).a
45	cp dllA$(TWL_LIBSUFFIX).a ../simple-1_static/data/dllA.a
46	cp dllA_debug$(TWL_LIBSUFFIX).a ../simple-1_static/data/dllA_debug.a
47
48include	$(TWLSDK_ROOT)/build/buildtools/modulerules
49
50#===== End of Makefile =====
51