# ---------------------- #
# makefile for Froth.exe #
# ---------------------- #

.asm.obj:
	tasm /t /c /ml /m2 /p /q /w4 /zn $<

# List of include files
inc     =   Equ.inc Vars.inc Dict.inc Help.inc

# List ob object files
ObjL	=	PMode.obj	Froth.obj	Debug.obj   	Intrpret.obj	Thread.obj	Varied.obj	DictMang.obj	\
	     	CrossRef.obj	BIO.obj		NumIO.obj	Stack.obj 	Memory.obj	Arith.obj	Control.obj 	\
		Screen.obj	String.obj	Editor.obj	\
		Ed.obj 		Ed_bios.obj	Ed_Util.obj	Ed_cmd.obj 	Ed_cmd2.obj	Ed_cmd3.obj	Ed_cmd4.obj	\
		Ed_cmd5.obj	Ed_File.obj

Froth.exe   :   $(ObjL)
	tlink /x /s /d /c /3 /C  @Froth.rsp, Froth

$(O)PMode.obj		:       PMode.asm
$(O)Froth.obj           :       Froth.asm       $(inc)
$(O)Debug.obj           :       Debug.asm       $(inc)
$(O)Intrpret.obj	:	Intrpret.asm	$(inc)
$(O)Thread.obj		: 	Thread.asm	$(inc)
$(O)Varied.obj		:	Varied.asm	$(inc)		Ed.inc
$(O)DictMang.obj        :       DictMang.asm    $(inc)
$(O)CrossRef.obj	:	CrossRef.asm	$(inc)
$(O)BIO.obj         	:       BIO.asm         $(inc)
$(O)NumIO.obj           :       NumIO.asm       $(inc)
$(O)Stack.obj           :       Stack.asm       $(inc)
$(O)Memory.obj          :       Memory.asm      $(inc)
$(O)Arith.obj           :  	Arith.asm       $(inc)
$(O)Control.obj     	:   	Control.asm 	$(inc)
$(O)Screen.obj		:	Screen.asm	$(inc)
$(O)String.obj		:	String.asm	$(inc)
$(O)Editor.obj		:	Editor.asm	$(inc)		Ed.inc
$(O)Ed.obj      	:   	Ed.asm      	$(inc)		Ed.inc
$(O)Ed_bios.obj     	:   	Ed_bios.asm 	$(inc)		Ed.inc
$(O)Ed_Util.obj      	:   	Ed_Util.asm    	$(inc)		Ed.inc
$(O)Ed_cmd.obj      	:   	Ed_cmd.asm  	$(inc)		Ed.inc
$(O)Ed_cmd2.obj      	:   	Ed_cmd2.asm  	$(inc)		Ed.inc
$(O)Ed_cmd3.obj      	:   	Ed_cmd3.asm  	$(inc)		Ed.inc
$(O)Ed_cmd4.obj      	:   	Ed_cmd4.asm  	$(inc)		Ed.inc
$(O)Ed_cmd5.obj      	:   	Ed_cmd5.asm  	$(inc)		Ed.inc
$(O)Ed_File.obj      	:   	Ed_File.asm  	$(inc)		Ed.inc
