File:  [RetroPC.NET] / np2 / romimage / tool / ROMTOOL.MK
Revision 1.1: download - view: text, annotated - select for diffs
Wed Dec 10 21:48:09 2003 JST (21 years, 10 months ago) by yui
Branches: MAIN
CVS tags: VER_0_82_x64, VER_0_82, VER_0_81A, VER_0_81, VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, VER_0_74, VER_0_73, HEAD
add ITF Images (T.Yui)

AOPT   = /MX
COPT   = -c -AS -W3 -Gs -Ot -Zp1 -G2
LOPT   = /NOI /CP:1 /ST:8192

CC     = cl
AS     = masm
OBJ    = ..\..\obj\romtool

BTOBJ	=	$(OBJ)\bin2txt.obj	\
			$(OBJ)\dosio32.obj
BTBIN	= ..\bin2txt.exe

TPOBJ	=	$(OBJ)\txtpack.obj	\
			$(OBJ)\dosio32.obj
TPBIN	= ..\txtpack.exe

all: $(OBJ) $(BTBIN) $(TPBIN)

$(OBJ):
	if not exist $(OBJ) mkdir $(OBJ)

$(BTBIN): $(BTOBJ)
	link $(LOPT) @bin2txt.lk;

$(TPBIN): $(TPOBJ)
	link $(LOPT) @txtpack.lk;

.asm{$(OBJ)}.obj:
	$(AS) $(AOPT) $(*B),$*;

.c{$(OBJ)}.obj:
	$(CC) $(COPT) -Fo$* $(*B).c

$(OBJ)\bin2txt.obj	: common.h dosio.h
$(OBJ)\txtpack.obj	: common.h dosio.h
$(OBJ)\dosio32.obj	: mil.inc


RetroPC.NET-CVS <cvs@retropc.net>