# MultiPlayer
# Copyright (C) 1992 Bryan Ford
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, 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
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# I (the author of MultiPlayer) can be contacted on the Internet at
# "bryan.ford@@m.cc.utah.edu".  See "Player.doc" for other addresses.
#
# $Id: makefile,v 4.1 92/07/29 18:08:41 BAF Exp Locker: BAF $
#
# $Log:	makefile,v $
# Revision 4.1  92/07/29  18:08:41  BAF
# Got rid of overlay support
# 
# Revision 3.2  92/05/25  08:38:34  BAF
# Got rid of requirement for stupid little "Defines" file
#
# Revision 3.1  92/05/25  08:32:22  BAF
# Recorded history starts with R3
#
#

.asm.o:
	a68k -iAI: -q1000 -t -w5147,2048 $*.asm

#.c.o:
#	gcc -c -O2 -Igcc:include -Ii: -fbaserel -msmall-code infowin.c

dest = play
findest = Player
genos = main.o player.o audiodev.o misca.o globals.o rexx.o
winos = window.o progwin.o prefswin.o settingswin.o \
	infowin.o flashywin.o flash.o
guios = windowspec.o progwinspec.o prefswinspec.o settingswinspec.o \
	infowinspec.o flashywinspec.o
pl1os = ptsplay.o stplay.o trekplay.o soundplay.o medplay.o med8play.o \
	fcoplay.o fc14play.o jamplay.o
pl2os = oktaplay.o okta8play.o play8.o soundmonplay.o ntpackplay.o npplay.o \
	dssplay.o
os = $(genos) $(winos) $(guios) $(pl1os) $(pl2os)
libs = lib:bry.lib lib:guido.lib lib:note.lib

$(findest): $(os) $(libs) $(findest).with
	BLink with $(findest).with

release: $(findest)

$(findest).with: makefile
	Echo >$(findest).with "from lib:bst.o"
	Echo >>$(findest).with "$(genos)"
	Echo >>$(findest).with "$(winos)"
	Echo >>$(findest).with "$(guios)"
	Echo >>$(findest).with "$(pl1os)"
	Echo >>$(findest).with "$(pl2os)"
	Echo >>$(findest).with "to $(findest) library $(libs)"
	Echo >>$(findest).with "define _topaz8=GUIDO_TOPAZ8"
	Echo >>$(findest).with "map $(findest).map addsym batch"
