# Makefile for FastFlop

#    makefile is FastFlop, which speeds up your Atari ST's floppy disks
#    Copyright (C) 1989  by Robert Fischer
#
#	This program costs no money; you can redistribute it and/or modify it
#	under the terms of the Lynxware General License as published by Robert
#	Fischer; either version 1, or (at your option) any later version. 
#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   Lynxware General License for more details.
#
#   You should have received a copy of the Lynxware General License
#   along with this program; if not, write to the author.
#
#   To contact the author, call or write:
#       Robert Fischer
#       80 Killdeer Road
#       Hamden, CT    06517
#       (203) 288-9599
#		E-mail: fischer-robert@cs.yale.edu

all : disktest.tos fflop.prg dspeed.ttp
    echo All done

dspeed.ttp : dspeed.c
    cc -o dspeed.ttp dspeed.c
	strip dspeed.ttp

disktest.tos : disktest.c
	cc -o disktest.tos disktest.c
	strip disktest.tos

fflop.prg : fflop.o flop.o
    cc -VGEM -o fflop.prg fflop.o flop.o

flop.o : flop.s
    mac -fmu flop.s

fflop.o : fflop.c
    cc -c fflop.c

ff32src.zoo :  fflop.c flop.s makefile fastflop.doc rebuild.doc \
        disktest.c dspeed.c d:\ul\lynxlic.doc stddef.h
	zoo -add ff32src.zoo $?

ff32bin.zoo : fastflop.doc fflop.prg disktest.c disktest.tos \
        dspeed.ttp d:\ul\lynxlic.doc c:\gem\format.prg c:\gem\format.rsc
    zoo -add ff32bin.zoo $?

zoos : ff32bin.zoo ff32src.zoo
	echo Done
