# Copyright (C)2002, Sony Computer Entertainment America Inc.
# This file is subject to the terms and conditions of the GNU
# General Public Licence Version 2.  See the file "COPYING"
# in the main directory of this archive for more details.

SHELL       = /bin/sh

DISTY	    = ../../demodata/


VCLOPT =   -g -Ii/ -t10 


PREFIX      = ee
DVPASM      = $(PREFIX)-dvp-as
OBJDUMP     = $(PREFIX)-objdump
RM          = /bin/rm -f


DVPASMFLAGS =   -al -Ii/

all: invite.bin invite.dat
	cp -f invite.bin $(DISTY)/invite.bin	
	cp -f invite.dat $(DISTY)/invite.dat	
	cp -f invite.hlp $(DISTY)/invite.hlp	

invite.bin:  invite.o
	objcopy -O binary invite.o invite.bin

invite.o: invite.vsm
	ee-dvp-as invite.vsm -o invite.o

invite.doh: invite.dsm
	gasp -c ';' -o invite.tmp invite.dsm
	ee-dvp-as invite.tmp -o invite.doh

invite.dat: invite.doh 
	objcopy -O binary invite.doh invite.dat
	rm invite.doh
	rm invite.tmp

invite.vsm: invite.vcl
	vcl $(VCLOPT) -oinvite.vsm invite.vcl
clean:
	$(RM) *.o *.map *.vsm core *.bin  *.tmp *.dat *.doh $(DISTY)/invite.hlp $(DISTY)/invite.bin $(DISTY)/invite.dat


