LIB_OPTS = -y /home/tools/ibm_sa27e/current/synthesis/synopsys_dw/src_ver \
           -y /home/tools2/ibm_sa27e/current/verilog \
	   -y ../../../../../../ibm_sa27e/sim \
	   -y ../../../../../components \
	   +libext+.v \
	   +incdir+../../../../../components/

PLI_OPTS = -P mypli.tab get_stim.c +acc

vcs:
	vcs -Mupdate -f divide.files $(LIB_OPTS) $(PLI_OPTS)

xvcs:
	vcs -Mupdate -RI -line -f divide.files $(LIB_OPTS) $(PLI_OPTS)

clean:
	$(RM) -r csrc simv.daidir vcs.key simv
