#! make -f
#----------------------------------------------------------------------------
# Project:  TwlSDK - Demo - BuildMessage
# File:	    mybuildmessages
#
# Copyright 2003-2005 Nintendo.	 All rights reserved.
#
# These coded instructions, statements, and computer programs contain
# proprietary information of Nintendo of America Inc. and/or Nintendo
# Company Ltd., and are protected by Federal copyright law.  They may
# not be disclosed to third parties or copied or duplicated in any form,
# in whole or in part, without the prior written consent of Nintendo.
#
# $Date:: 2008-04-21#$
# $Rev: $
# $Author: okubata_ryoma $
#----------------------------------------------------------------------------

override MSG_COMPILE		 = echo compiling  $< &&
override MSG_LINK			 = echo linking    $@ &&
override MSG_MAKEROM		 = echo making rom $@ &&
 
#
# Show my compiling message with -s option 
#
ifneq (,$(findstring s,$(MAKEFLAGS_SHORT)))
MAKEFLAGS		+= -s
override CC		 = $(MSG_COMPILE) $(MWCC)
override CXX	 = $(MSG_COMPILE) $(MWCC)
override AS		 = $(MSG_COMPILE) $(MWAS)
override LD		 = $(MSG_LINK)    $(MWLD)
override AR		 = $(MSG_LINK)    $(MWAR)
ifeq ($(TARGET_PLATFORM),TWL)
override MAKEROM = $(MSG_MAKEROM) $(TOOLSDIR)/bin/makerom.TWL.exe
else
override MAKEROM = $(MSG_MAKEROM) $(TOOLSDIR)/bin/makerom.exe
endif
endif

#===== End of mybuildmessages =====
