Makefile 484 Bytes
#!smake -J 5

PRDEPTH = ../../../..
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules

QTV = $(ROOT)/PR/hw/chip/rcp/mi/qtv

LDIRT = *.sim* *.trc* *.simlog*

default: mi000.trc.Z

mi000.sim: mi000.tab.Z
	uncompress mi000.tab
	$(PRDEPTH)/rdpsim/tools/tab2sim -o mi000.sim -c mi000.tab
	compress -f mi000.tab
	fix_sim mi000.sim

mi000.trc.Z: mi000.sim do_sim $(QTV)/mi.nls
	./do_sim mi000 | tee mi000.simlog
	/usr/bin/rm -f mi000.sim
	compress -f mi000.trc
	compress -f mi000.simlog