1#! make -f
2#----------------------------------------------------------------------------
3# Project:  TwlSDK - Demo - BuildMessage
4# File:	    mybuildmessages
5#
6# Copyright 2003-2005 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-04-21#$
15# $Rev: $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18
19override MSG_COMPILE		 = echo compiling  $< &&
20override MSG_LINK			 = echo linking    $@ &&
21override MSG_MAKEROM		 = echo making rom $@ &&
22
23#
24# Show my compiling message with -s option
25#
26ifneq (,$(findstring s,$(MAKEFLAGS_SHORT)))
27MAKEFLAGS		+= -s
28override CC		 = $(MSG_COMPILE) $(MWCC)
29override CXX	 = $(MSG_COMPILE) $(MWCC)
30override AS		 = $(MSG_COMPILE) $(MWAS)
31override LD		 = $(MSG_LINK)    $(MWLD)
32override AR		 = $(MSG_LINK)    $(MWAR)
33ifeq ($(TARGET_PLATFORM),TWL)
34override MAKEROM = $(MSG_MAKEROM) $(TOOLSDIR)/bin/makerom.TWL.exe
35else
36override MAKEROM = $(MSG_MAKEROM) $(TOOLSDIR)/bin/makerom.exe
37endif
38endif
39
40#===== End of mybuildmessages =====
41