@ECHO OFF

REM     Setup for Tattletale Model 7 Development with Aztec C
REM     July 12, 1992 --jhg
REM
REM     Usage:      TTDEV [path]       (defaults to "\AZ68")
REM     Examples:   TTDEV
REM                 TTDEV \xdev\tat\az68
REM
REM     Notes:
REM     If DOS gives the message "Out of environment space", you
REM     can increase it in your CONFIG.SYS file by adding the
REM     line "shell=command.com /e:512 /p"
REM
REM     To automatically setup for Tattletale development, add
REM     "C:\AZ68\ONSET\BIN\TTDEV" to your AUTOEXEC.BAT file.

REM  Inhibit multiple invocations
IF NOT %TTDEV%!==! GOTO END

IF %1!==! SET TTDEV=\AZ68
IF NOT %1!==! SET TTDEV=%1

REM     The following compiler options are mandatory for proper
REM     operation with the Onset TT7 libraries.
REM         -ps     16 bit integers
REM         -mc     large code memory model
REM         -md     large data memory model
REM         -sm     define __C_MACROS__ for ctype and stdio
REM         -y      for library register compatability, 1.24, 12/14/92 --jhg
SET CCOPTS= -ps -mc -md -sm -yrd3-d7/a2-a4 -ytd0-d2/a0-a1

PATH C:\AZ68\BIN;%PATH%
SET CLIB68=C:\AZ68\LIB\
SET INCL68=C:\AZ68\INCLUDE\TT7\;C:AZ68\INCLUDE\;C:\AZ68\

:END
make
