#====================================================================
#       Makefile for Cinepak sample programs
#====================================================================

#====================================================================
#       Macro & Assembler flags
#====================================================================

STADDR = 4000
ALNFLAGS = -l -m -a $(STADDR) x x

#====================================================================
# Delete option '-dUSE_CDROM' to run from DRAM
# For DRAM execution of film file use the following commands:
#
# aread player.abs
# read SYNC 3ffc0        
# read TALK.CPK 40000          << TALK.CPK, CINEJUL.CPK or SHAVE.CPK
# g4000
#====================================================================

#MACFLAGS = -dUSE_CDROM
MACFLAGS = 

#====================================================================
#       Default Rules
#====================================================================

.SUFFIXES: .o .s

.s.o:
	mac $(MACFLAGS) $*

.SUFFIXES: .od .das

.das.od:
	mac -o$*.od $*.das

#====================================================================
#       EXECUTABLES
#====================================================================

player.db: player.o utils.o clear.o vidinit.o lister.o\
		intserv.o dspcode.od ..\\decomp\\gpucode.og\
		..\\decomp\\codec.o
	aln $(ALNFLAGS) -c player.lnk

#====================================================================
#       EOF
#====================================================================
