1#! make -f
2#----------------------------------------------------------------------------
3# Project:  Nw4R - Library - build - buildtools
4# File:     modulerules.emtype.NDEV
5#
6# Copyright 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# $Revision: 1.3 $
15#----------------------------------------------------------------------------
16
17ifdef	NDEV
18
19#----------------------------------------------------------------------------
20#  Execute command
21#----------------------------------------------------------------------------
22
23ifneq	($(TARGET_BIN),)
24
25.PHONY: run
26
27EM_LOADER	= $(NDEV_ROOT)/bin/NdevRun.exe
28
29run:
30	@$(REMAKE) build
31	@echo 'run $(BINDIR)/$(firstword $(TARGET_BIN))'
32	- $(EM_LOADER) -enfw $(BINDIR)/$(firstword $(TARGET_BIN))
33
34endif
35endif
36
37#----- End of modulerules.emtype.NDEV -----
38