1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK
4# File:     modulerules.add-ins.nadk
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
19ifeq	($(TWL_NANDAPP),TRUE)
20ifeq	($(CODEGEN_PROC),ARM9)
21
22TWLSDK_MSG_MAKE_TAD		= " make tad:"
23
24# .tad rules
25
26ifndef USE_MY_RULE_TAD
27.PRECIOUS: $(BINDIR)/%.$(INT_ROM_EXT)
28
29MAKETAD_OPTION	+= -v $(TITLE_VERSION_LO)
30
31%.tad:	%.$(INT_ROM_EXT) $(MAKETAD)
32ifdef SILENT
33	echo $(TWLSDK_MSG_MAKE_TAD) $(notdir $@)
34endif
35	$(MAKETAD) $< $(MAKETAD_OPTION) -o $@
36endif	# ifndef USE_MY_RULE_TAD
37
38
39endif	# ifeq	($(CODEGEN_PROC),ARM9)
40endif	# ifeq	($(TWL_NANDAPP),TRUE)
41