Makefile 1.42 KB
############################
# block variable definitions

BLOCK    =  vclk_driver

REALITYBIN =  /ecad/reality/bin

COMPASS_FILES = verify.db vlsi.idx vlsi.atr

#############################
# default target

verify.log: $(BLOCK).drclog $(BLOCK).netcmplog

#############################
# cleanup target

clean: 
	/sbin/rm -f *.nls* *.cc* *.cp* *.mcp* *_stats.txt*


#############################
# compass files

verify.db:
	@/sbin/echo "Creating ./verify.db ..."
	@/sbin/echo "v1(0,verify)"  > verify.db 

vlsi.idx:
	@/sbin/echo "Creating ./vlsi.idx ..."
	@/sbin/echo "verify"  > vlsi.idx 

vlsi.atr:
	@/sbin/echo "Creating ./vlsi.atr ..."
	@/sbin/echo '\"7-Jun-94\" \"8:42\"'  > vlsi.atr 
	@/sbin/echo "anyone"  >> vlsi.atr 
	@/sbin/echo "working"  >> vlsi.atr 
	@/sbin/echo "2"  >> vlsi.atr 


#############################
# verify target

$(BLOCK).verlog: $(BLOCK).cif $(COMPASS_FILES)
	-/sbin/rm -f *.verlog
	csh $(BLOCK).verscr | tee $(BLOCK).verlog

#############################
# merged cif

$(BLOCK).cif: $(BLOCK).merscr $(COMPASS_FILES)
	-/sbin/rm -f *.cif
	csh $(BLOCK).merscr | tee $(BLOCK).merlog

############################
# For DRC only
	
$(BLOCK).drclog: $(BLOCK).cif $(COMPASS_FILES)
	-/sbin/rm -f *.drclog
	csh $(BLOCK).drcscr | tee $(BLOCK).drclog

##########################
# For netcompare only

$(BLOCK).netcmplog: $(BLOCK).cif $(COMPASS_FILES)
	-/sbin/rm -f *.netcmplog
	csh $(BLOCK).netcmpscr | tee $(BLOCK).netcmplog