#
# Makefile for egaint 0.93.05 and aint 0.90.01
#  (for use with Turbo Make 2.0)
#

#
# Copyright (C) 1989 Eric Ng
#
# Egaint is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License, Version 1, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful, but
# without any warranty whatsoever, without even the implied warranties
# of merchantability or fitness for a particular purpose.  See the
# enclosed GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with egaint; see the file COPYING.  If not, write to:
#
#       Free Software Foundation, Inc.
#       675 Massachusetts Avenue
#       Cambridge, Massachusetts 02139
#

#
# The complete egaint 0.93.05 package can be obtained at either of
# the following bulletin board systems:
#
#       Tom and Sue McDermet's The Odyssey
#       A carrier of the SmartNet network
#       Morris Plains, New Jersey
#       (201) 984-6574
#
#       John Looker's Bandersnatch
#       Phoenix Net #807/7
#       Basking Ridge, New Jersey
#       (201) 766-3801
#
# In addition, bug reports, modifications, and other assorted
# queries can be directed, via Internet e-mail, to
#
#       erc@{mars,irss,inis}.njit.edu
#
# Please note that since I will be returning to college in the
# fall, future versions of egaint may not be posted on the above
# bulletin board systems.  The e-mail address, however, should
# remain valid.
#

#
# Egaint 0.93.05 was originally written in Turbo Pascal 4.0;
# however, I have just received my upgrade copy of Turbo Pascal 5.5.
# This new version of the compiler, so far, has not exhibited
# any problems and compiled without change.  What this means,
# through interpolation, is that it should (but is not guaranteed to)
# compile with Turbo Pascal 5.0 (but I can't verify this).
#

#
# Build the main file (egaint)
#
egaint.exe:   eg9305.pas driver.tpu fonts.tpu
    tpc /m eg9305.pas
    copy egaint.exe eg.exe                  # all this because I've been
    copy eg9305.exe egaint.exe              # have problems using RENAME
    del eg9305.exe                          # with Make
#
# More elegant, unsupported solution:
#
#   if exist egaint.exe ren egaint.exe eg.exe
#   ren eg9305.exe egaint.exe
#

#
# Combine all the used fonts into a unit
#
fonts.tpu:    fonts.pas sans.obj litt.obj
    tpc fonts.pas
sans.obj:     sans.chr
    binobj sans.chr sans.obj SansSerifFontProc
litt.obj:     litt.chr
    binobj litt.chr litt.obj SmallFontProc

#
# Combine the EGA/VGA driver into a unit
#
driver.tpu:   driver.pas egavga.obj
    tpc driver.pas
egavga.obj:   egavga.bgi
    binobj egavga.bgi egavga.obj EgaVgaDriver

#
# Make aint (really easy)
#
aint.exe:     aint9.pas
    tpc aint9.pas
    del aint.exe
    ren aint9.exe aint.exe

