1#! make -f
2#----------------------------------------------------------------------------
3#  Project:  TwlSDK
4#  File:     modulerules.emtype.IS
5#
6#  Copyright 2003-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:: 2009-01-05#$
15# $Rev: 9777 $
16# $Author: okubata_ryoma $
17#----------------------------------------------------------------------------
18
19#----------------------------------------------------------------------------
20#  Run command for IS-TWL-EMULATOR and IS-NITRO-EMULATOR
21#----------------------------------------------------------------------------
22ifneq	($(TARGET_ROM),)
23
24.PHONY: run test-run
25run:
26	@$(LOADRUN) $(LOADRUN_FLAGS) $(BINDIR)/$(firstword $(TARGET_BIN))
27
28#test-run:
29#	@echo ==== $(CURDIR)                                       >  $(AUTOTESTLOG).tmp
30#	@echo :TEST-TARGET: [$(BINDIR)/$(firstword $(TARGET_BIN))] >> $(AUTOTESTLOG).tmp
31#	@echo                                                      >> $(AUTOTESTLOG).tmp
32#	cscript $(TWL_TOOLSDIR)/bin/runEmu.js //Nologo //T:60 $(BINDIR)/$(firstword $(TARGET_BIN)) $(AUTOTESTLOG).tmp
33#	@gawk '/<AUTO-TEST> / || NR <= 30' $(AUTOTESTLOG).tmp >> $(AUTOTESTLOG)
34#	@echo                         >> $(AUTOTESTLOG)
35endif
36
37#----- End of modulerules.emtype.IS -----
38