Makefile 759 Bytes
#!smake
#
# 
#
# $Revision: 1.1.1.1 $
#

#
#  Tools
#
PRDEPTH = ../../../..

#
#  SGI Common Defs
#
include $(PRDEPTH)/PRdefs

#
#   Sources
#
HW = $(PRDEPTH)/hw/chip/rcp

VERILOG = $(HW)/cv/src/cv.v
VERILOGDIRS = $(VERILOG:H)
SYMNAMES = $(VERILOG:T)
SYMBOLS = $(SYMNAMES:.v=.sym)

#
#  Set path to find verilog sources
#
.PATH: $(VERILOGDIRS)

#
#  Targets
#
GCINCS =
LDIRT  = cv_test.1 *.asy $(SYMBOLS)

TARGETS = cv_test.1

default install: $(TARGETS)

#
#  SGI Common Rules
#
include $(PRDEPTH)/PRrules

#
#  Make Blender Netlist
#
cv_test.1:	cv_test.sch driver.sym $(SYMBOLS)
	$(ECS2VL) cv_test cv_test.1


#
#  Suffix Rules
#
.SUFFIXES : .v .sym


.v.sym:
	$(RMVCOM) < $*.v | $(ECSGEN)
	echo "TEXT 0 0 Left 2 $(*:T)" >> $(*:T).asy
	$(ASYIN) $(*:T).asy