#----
#
# This is the makefile for CVT.EXE for the IBM-PC.  If you don't
# have MAKE, then don't sweat it -- you can use the binaries or compile
# it by hand.
#
# Bugs, comments, letter bombs to:
#
#	Landon Dyer		G.DYER@SU-SCORE.ARPA
#	Atari Corp.		... {hoptoad, lll-crg!vecpyr}!atari!dyer
#	1196 Borregas Ave
#	Sunnyvale, CA 94088
#
#----
#
# No warranty is expressed or implied.  This is public domain software,
# free for the asking.  You may modify it however you wish, but you are
# not permitted to sell this work, or any modification of it.
#
#----
#
# You will need your OWN quicksort, as the version I use is from 4.2BSD,
# and I'm not sure if it's legal to distribute it.
# (I've added the decus qsort() routine;  Fred Fish 23-Apr-86)
#
#----
#
#
# Change these to reflect where the libraries and so on are on your system.
# (This is for Lattice C 2.11 or something like that).
#

CC =		cc
SUBRS =		binfio.o efopen.o
CONVERTOBJS =	convertm.o convert.o longio.o qsort.o $(SUBRS)

cvt :		$(CONVERTOBJS)
		$(CC) -o cvt $(CONVERTOBJS)

convertm.o :	convertm.c
		$(CC) -c $(CFLAGS) convertm.c

convert.o :	convert.c
		$(CC) -c $(CFLAGS) convert.c

qsort.o :	qsort.c
		$(CC) -c $(CFLAGS) qsort.c

longio.o :	longio.c
		$(CC) -c $(CFLAGS) longio.c

#
# Random tools (I port these from
# system to system...):
#

binfio.o :	binfio.c
		$(CC) -c $(CFLAGS) binfio.c

efopen.o :	efopen.c
		$(CC) -c $(CFLAGS) efopen.c

