
# The is the make file to (re-)build and run the Cintpos version of the
# Tcobench benchmark program.
# Originally written by Martin Richards (c) October 2002

# Updated: 18 January 2006

help:
	@echo
	@echo "make bench       Compile and run tcobench"
	@echo "make bencht      Run tcobench with tracing"
	@echo "make xref        Make the cross ref file: xrefdata"
	@echo "make clean       Delete compiled files"
	@echo "make help        Display this help information"
	@echo

bench:	tcobench
	@echo
	time cintpos -c tcobench

bencht:	tcobench
	@echo
	cintpos -c "dumpmem on; tcobench -t"

xref:	rawxref
	cintsys -c sortxref rawxref to xrefdata
	rm rawxref

rawxref:
	cintsys -c c bp tcobench xref >rawxref

sane:
	stty sane

tcobench:	tcobench.b
	cintpos -c c b tcobench

clean:
	rm -f tcobench OCODE COMFILE
	rm -f ../*~ *~ */*~





