#
# Makefile for script V1.0 using Turbo C V1.0
# I don't think this makefile will work with the make utility
# provided with Turbo C. Use a better one.
#
# There are two targets below. The one labelled script
# will take up less memory as it uses a customized c0.asm.
# Diffs for this file are included in the file c0.dif
# If you do not have access to c0.asm, or do not wish
# to hack it, use the second target below which uses the
# standard Turbo C c0t.obj, but which will gobble up
# 64K of RAM.
#
ASFLAGS= /D__TINY__ /MX
CC= tcc
CFLAGS= -mt -M
TCLIBDIR= \turboc\lib

script.com:	c0.obj script.obj int21.obj
	tlink c0 script int21 /c/m,script,,${TCLIBDIR}\cs.lib
	exe2bin	script.exe script.com
	del script.exe

zscript.com:	script.obj int21.obj
	tlink ${TCLIBDIR}\c0t script int21 /c/m,script,,${TCLIBDIR}\cs.lib
	exe2bin	script.exe zscript.com
	del script.exe
