BBrules
606 Bytes
#
# Commonrules for Project BB
#
# Makefiles which include this should first define BBDEPTH
# to be the relative path from their parent directory.
# Inference rules
.SUFFIXES : .v .sym .tab .mem .rdp .Z .ss .edf .vsyn
.v.sym:
$(RMVCOM) < $*.v | $(ECSGEN)
echo "TEXT 0 0 Left 2 $(*:T)" >> $(*:T).asy
$(ASYIN) $(*:T).asy
.c.tab:
$(HOST_CC) $*.c $(CFLAGS) -o $* $(LDFLAGS)
$* > $*.tab
.tab.mem:
$(TAB2VMEM) -o $*.mem -s 100 $*.tab > /dev/null
.mem.out:
simv +mem=$*.mem > $*.out
$(LOG_RESULT);
.c.rdp:
$(HOST_CC) $*.c $(CFLAGS) -o $* $(LDFLAGS)
$* > $*.rdp
.Z.out:
uncompress -c $*.Z > $*